Class CXUIBuilder
Standalone-Xaml-UI builder class, to create UIs which only basis on XAML and pack tham into an assembly
Inheritance
Implements
Inherited Members
Namespace: Simplic.CXUI
Assembly: Simplic.CXUI.dll
Syntax
public class CXUIBuilder : IBuildEngine
Constructors
| Improve this Doc View SourceCXUIBuilder()
Create standalone xaml ui builder
Declaration
public CXUIBuilder()
Properties
| Improve this Doc View SourceAssemblyName
Assembly name which should be used
Declaration
public string AssemblyName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ColumnNumberOfTaskNode
Column, always nu,k
Declaration
public int ColumnNumberOfTaskNode { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
ContinueOnError
Continue executing task when an error occured
Declaration
public bool ContinueOnError { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
GeneratedFiles
Contains a list of generated files, which will be passed between build steps
Declaration
public IList<GeneratedFile> GeneratedFiles { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<GeneratedFile> |
Language
Compile target language, currently static cs
Declaration
public string Language { get; }
Property Value
Type | Description |
---|---|
System.String |
LineNumberOfTaskNode
Task ID as "fake" line number
Declaration
public int LineNumberOfTaskNode { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
ProjectFileOfTaskNode
Project file => always an empty string
Declaration
public string ProjectFileOfTaskNode { get; }
Property Value
Type | Description |
---|---|
System.String |
ProjectRoot
Root path of the project
Declaration
public string ProjectRoot { get; set; }
Property Value
Type | Description |
---|---|
System.String |
RawAssembly
Contains the assembly which is generated in this pipeline
Declaration
public byte[] RawAssembly { get; }
Property Value
Type | Description |
---|---|
System.Byte[] |
References
List of references, which are required for compiling
Declaration
public IReadOnlyList<Assembly> References { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyList<System.Reflection.Assembly> |
RootNamespace
Root namespace for the assembly
Declaration
public string RootNamespace { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Tasks
List of tasks which will be exxecuted during building process.
Declaration
public IList<BuildTaskBase> Tasks { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<BuildTaskBase> |
Methods
| Improve this Doc View SourceAddReference(Assembly)
Add assembly as reference
Declaration
public void AddReference(Assembly assembly)
Parameters
Type | Name | Description |
---|---|---|
System.Reflection.Assembly | assembly | Reference instance |
AddReferences(Assembly[])
Add a list of assemblies as reference
Declaration
public void AddReferences(Assembly[] assemblies)
Parameters
Type | Name | Description |
---|---|---|
System.Reflection.Assembly[] | assemblies | Reference instance |
Build()
Build the assembly for the SXUI system
Declaration
public Stream Build()
Returns
Type | Description |
---|---|
System.IO.Stream | Stream containing the created assembly. Errors will throw an exception |
BuildProjectFile(String, String[], IDictionary, IDictionary)
Defines whether a project should be created
Declaration
public bool BuildProjectFile(string projectFileName, string[] targetNames, IDictionary globalProperties, IDictionary targetOutputs)
Parameters
Type | Name | Description |
---|---|---|
System.String | projectFileName | |
System.String[] | targetNames | |
System.Collections.IDictionary | globalProperties | |
System.Collections.IDictionary | targetOutputs |
Returns
Type | Description |
---|---|
System.Boolean | Always false |
LogCustomEvent(CustomBuildEventArgs)
Log custom events
Declaration
public void LogCustomEvent(CustomBuildEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Build.Framework.CustomBuildEventArgs | e |
LogErrorEvent(BuildErrorEventArgs)
Log exceptions/errors
Declaration
public void LogErrorEvent(BuildErrorEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Build.Framework.BuildErrorEventArgs | e |
LogMessageEvent(BuildMessageEventArgs)
Log plain messages
Declaration
public void LogMessageEvent(BuildMessageEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Build.Framework.BuildMessageEventArgs | e |
LogWarningEvent(BuildWarningEventArgs)
Log warnings
Declaration
public void LogWarningEvent(BuildWarningEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Build.Framework.BuildWarningEventArgs | e |