Search Results for

    Show / Hide Table of Contents

    Class CXUIBuilder

    Standalone-Xaml-UI builder class, to create UIs which only basis on XAML and pack tham into an assembly

    Inheritance
    System.Object
    CXUIBuilder
    Implements
    Microsoft.Build.Framework.IBuildEngine
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Simplic.CXUI
    Assembly: Simplic.CXUI.dll
    Syntax
    public class CXUIBuilder : IBuildEngine

    Constructors

    | Improve this Doc View Source

    CXUIBuilder()

    Create standalone xaml ui builder

    Declaration
    public CXUIBuilder()

    Properties

    | Improve this Doc View Source

    AssemblyName

    Assembly name which should be used

    Declaration
    public string AssemblyName { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    ColumnNumberOfTaskNode

    Column, always nu,k

    Declaration
    public int ColumnNumberOfTaskNode { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    ContinueOnError

    Continue executing task when an error occured

    Declaration
    public bool ContinueOnError { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    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>
    | Improve this Doc View Source

    Language

    Compile target language, currently static cs

    Declaration
    public string Language { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    LineNumberOfTaskNode

    Task ID as "fake" line number

    Declaration
    public int LineNumberOfTaskNode { get; set; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    ProjectFileOfTaskNode

    Project file => always an empty string

    Declaration
    public string ProjectFileOfTaskNode { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    ProjectRoot

    Root path of the project

    Declaration
    public string ProjectRoot { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    RawAssembly

    Contains the assembly which is generated in this pipeline

    Declaration
    public byte[] RawAssembly { get; }
    Property Value
    Type Description
    System.Byte[]
    | Improve this Doc View Source

    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>
    | Improve this Doc View Source

    RootNamespace

    Root namespace for the assembly

    Declaration
    public string RootNamespace { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    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 Source

    AddReference(Assembly)

    Add assembly as reference

    Declaration
    public void AddReference(Assembly assembly)
    Parameters
    Type Name Description
    System.Reflection.Assembly assembly

    Reference instance

    | Improve this Doc View Source

    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

    | Improve this Doc View Source

    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

    | Improve this Doc View Source

    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

    | Improve this Doc View Source

    LogCustomEvent(CustomBuildEventArgs)

    Log custom events

    Declaration
    public void LogCustomEvent(CustomBuildEventArgs e)
    Parameters
    Type Name Description
    Microsoft.Build.Framework.CustomBuildEventArgs e
    | Improve this Doc View Source

    LogErrorEvent(BuildErrorEventArgs)

    Log exceptions/errors

    Declaration
    public void LogErrorEvent(BuildErrorEventArgs e)
    Parameters
    Type Name Description
    Microsoft.Build.Framework.BuildErrorEventArgs e
    | Improve this Doc View Source

    LogMessageEvent(BuildMessageEventArgs)

    Log plain messages

    Declaration
    public void LogMessageEvent(BuildMessageEventArgs e)
    Parameters
    Type Name Description
    Microsoft.Build.Framework.BuildMessageEventArgs e
    | Improve this Doc View Source

    LogWarningEvent(BuildWarningEventArgs)

    Log warnings

    Declaration
    public void LogWarningEvent(BuildWarningEventArgs e)
    Parameters
    Type Name Description
    Microsoft.Build.Framework.BuildWarningEventArgs e

    Implements

    Microsoft.Build.Framework.IBuildEngine
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx