Class GenerateCSharpCsContainerExtensions
Extension methods that support the generation of source in the C# language from the CsContainer model.
Inherited Members
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. |