CodeFactory for Windows CodeFactory for Windows
CodeFactory for Windows CodeFactory for Windows
CodeFactory

Search Results for

    Class GenerateCSharpCsContainerExtensions

    Extension methods that support the generation of source in the C# language from the CsContainer model.

    Inheritance
    object
    GenerateCSharpCsContainerExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: CodeFactory.WinVs.Models.CSharp
    Assembly: CodeFactory.WinVs.dll
    Syntax
    public static class GenerateCSharpCsContainerExtensions

    Methods

    GenerateCSharpTypeName(CsContainer, NamespaceManager, List<MapNamespace>)

    Generates the C# type name.

    Declaration
    public static string GenerateCSharpTypeName(this CsContainer source, NamespaceManager manager = null, List<MapNamespace> mappedNamespaces = null)
    Parameters
    Type Name Description
    CsContainer source

    Source container to generate the type name from.

    NamespaceManager manager

    Optional parameter that contains all the using statements from the source code, when used will replace namespaces on type definition in code.

    List<MapNamespace> mappedNamespaces

    Optional parameter that provides namespaces to be mapped to.

    Returns
    Type Description
    string

    The formatted type name.

    © CodeFactory, LLC. All rights reserved.