INamespaceDefinition Interface
Provides the base requirements of a namespace that can contain types and other nested namespaces.
public interface INamespaceDefinition : IReflectionDefinition
Properties
Children
The collection of child INamespaceDefinition objects within this namespace.
ExtensionMethods
The collection of extension methods that are contained in the namespace.
ITypeMemberDefinitionCollection ExtensionMethods { get; }
Property Value
FullName
The full name of the namespace, which includes the names of ancestor namespaces.
StandardModules
The collection of standard modules that are contained in the namespace.
Types
The collection of ITypeDefinition objects within this namespace.
Methods
ToTreeString(int)
Outputs the contents of the namespace in tree form.
string ToTreeString(int indentLevel)
| Parameter | Type | Description |
|---|---|---|
| indentLevel | int | The indentation level. |
Returns
- string:
A string containing the tree form of the namespace.