INamespace Interface |
Namespace: Nova.CodeDOM
public interface INamespace : INamedCodeObject
The INamespace type exposes the following members.
Name | Description | |
---|---|---|
Category |
The descriptive category of the CodeObject.
(Inherited from INamedCodeObject.) | |
Children |
The dictionary of child types and namespaces in the Namespace.
| |
FullName |
The full name of the Namespace, including any parent namespaces.
| |
HasDeclarationsInProject |
True if this Namespace has NamespaceDecl declarations in the current project, otherwise
false (meaning items in the namespace exist only in imported assemblies and projects).
| |
IsGlobal |
Determines if this Namespace is the project-global namespace.
| |
IsRootLevel |
Determines if this Namespace is root-level (global or extern alias).
| |
Name |
The name of the CodeObject.
(Inherited from INamedCodeObject.) | |
Parent |
The parent CodeObject.
|
Name | Description | |
---|---|---|
Add(Type) |
Add a Type to the Namespace.
| |
Add(Namespace) | ||
Add(TypeDecl) | ||
Add(TypeDefinition) |
Add a TypeReference to the Namespace.
| |
AddToDictionary |
Add the CodeObject to the specified dictionary.
(Inherited from INamedCodeObject.) | |
CreateRef |
Create a reference to the CodeObject.
(Inherited from INamedCodeObject.) | |
Find | ||
FindOrCreateChildNamespace |
Find or create a child Namespace, including any missing parent namespaces.
| |
FindParentT |
Find the parent object of the specified type.
(Inherited from INamedCodeObject.) | |
GetFullName |
Get the full name of the INamedCodeObject, including any namespace name.
(Inherited from INamedCodeObject.) | |
ParseName |
Parse the specified name into a child NamespaceRef or TypeRef on the current namespace,
or a Dot expression that evaluates to one.
| |
Remove(Type) |
Remove a Type from the Namespace.
| |
Remove(Namespace) | ||
Remove(TypeDecl) | ||
Remove(TypeDefinition) |
Remove a TypeReference from the Namespace.
| |
RemoveAll |
Remove all items from the Namespace.
| |
RemoveFromDictionary |
Remove the CodeObject from the specified dictionary.
(Inherited from INamedCodeObject.) |