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