Class CsSourceExtensions
Extensions class that manage extensions that support CodeFactory models that implement the CsSource model.
Inherited Members
Namespace: CodeFactory.Formatting.CSharp
Assembly: CodeFactory.Formatting.CSharp.dll
Syntax
public static class CsSourceExtensions
Methods
| Improve this Doc View SourceLoadNamespaceManager(CsSource, string)
Creates a new instance of a namespace manager from a target model
Declaration
public static NamespaceManager LoadNamespaceManager(this CsSource source, string targetNamespace = null)
Parameters
Type | Name | Description |
---|---|---|
CsSource | source | The model to load from. |
string | targetNamespace | The target namespace the manager supports. |
Returns
Type | Description |
---|---|
NamespaceManager | New instance of the namespace manager. |