Search Results for

    Show / Hide Table of Contents

    Class BuildCodeBehindTask

    Build task to automatically crate code behind files which bases on generated c# files (*.g.cs).

    Inheritance
    System.Object
    BuildTaskBase
    BuildCodeBehindTask
    Implements
    Microsoft.Build.Framework.ITask
    Inherited Members
    BuildTaskBase.BuildEngine
    BuildTaskBase.CXUIBuildEngine
    BuildTaskBase.HostObject
    BuildTaskBase.TempOutputDirectory
    BuildTaskBase.Assemblies
    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.Xaml
    Assembly: Simplic.CXUI.Xaml.dll
    Syntax
    public class BuildCodeBehindTask : BuildTaskBase, ITask

    Methods

    | Improve this Doc View Source

    Execute()

    Build autogenerated codebehind files for all controls, that does not have any code behind file yet.

    Declaration
    public override bool Execute()
    Returns
    Type Description
    System.Boolean

    True if creating was successfull

    Overrides
    BuildTaskBase.Execute()
    | Improve this Doc View Source

    GetCodeBehind(String)

    Generate a code behind file which bases on (YourXaml.g.cs) using roslyn

    Declaration
    public string GetCodeBehind(string xamlGeneratedCSFile)
    Parameters
    Type Name Description
    System.String xamlGeneratedCSFile

    *.g.cs file as base

    Returns
    Type Description
    System.String

    Empty string if no valid file was passed, else a valid code behind file

    | Improve this Doc View Source

    GetFullNamespace(INamespaceSymbol)

    Get the complete namespace by the starting namespace symbol

    Declaration
    public string GetFullNamespace(INamespaceSymbol namespaceSymbol)
    Parameters
    Type Name Description
    INamespaceSymbol namespaceSymbol

    Symbol instance

    Returns
    Type Description
    System.String

    Empty string if no namespace exists, else the full path. Your.Namespace.Whatever

    Implements

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