ITypeDecl Interface |
Namespace: Nova.CodeDOM
public interface ITypeDecl : INamedCodeObject
The ITypeDecl type exposes the following members.
Name | Description | |
---|---|---|
Category |
The descriptive category of the CodeObject.
(Inherited from INamedCodeObject.) | |
IsAbstract |
True if the type is abstract.
| |
IsClass |
True if the type is a class.
| |
IsDelegateType |
True if the type is a delegate type.
| |
IsEnum |
True if the type is an enum.
| |
IsGenericParameter |
True if the type is a generic parameter.
| |
IsGenericType |
True if the type is a generic type (meaning that either it or an enclosing type has type parameters,
and it's not an enum).
| |
IsInterface |
True if the type is an interface.
| |
IsNested |
True if the type is a nested type.
| |
IsNullableType |
True if the type is a nullable type.
| |
IsPartial |
True if the type is a partial type.
| |
IsStruct |
True if the type is a struct.
| |
IsValueType |
True if the type is a value type.
| |
Name |
The name of the CodeObject.
(Inherited from INamedCodeObject.) | |
Parent |
The parent CodeObject.
| |
TypeParameterCount |
The number of TypeParameters the type has.
|
Name | Description | |
---|---|---|
AddToDictionary |
Add the CodeObject to the specified dictionary.
(Inherited from INamedCodeObject.) | |
CreateArrayRef(Int32) |
Create an array reference to the type.
| |
CreateArrayRef(Boolean, Int32) |
Create an array reference to the type.
| |
CreateNullableRef |
Create a nullable reference to the type.
| |
CreateRef(Boolean) |
Create a reference to the CodeObject.
(Inherited from INamedCodeObject.) | |
CreateRef(ChildListExpression, ListInt32, Int32) |
Create a reference to the type.
| |
CreateRef(Boolean, ChildListExpression, ListInt32, Int32) |
Create a reference to the type.
| |
FindParentT |
Find the parent object of the specified type.
(Inherited from INamedCodeObject.) | |
FindTypeArgumentInBase |
Find a type argument in a base class for the specified type parameter.
| |
GetAttribute |
Returns the first attribute expression (Call or ConstructorRef) with the specified name on the CodeObject.
| |
GetBaseType |
Get the base type.
| |
GetConstructor |
Get the non-static constructor with the specified parameters.
| |
GetConstructors |
Get all non-static constructors for this type.
| |
GetDelegateParameters |
Get the delegate parameters of the type (if any).
| |
GetDelegateReturnType |
Get the delegate return type of the type (if any).
| |
GetEvent |
Get the event with the specified name.
| |
GetField |
Get the field with the specified name.
| |
GetFullName |
Get the full name of the INamedCodeObject, including any namespace name.
(Inherited from INamedCodeObject.) | |
GetIndexer |
Get the indexer with the specified parameter types.
| |
GetMethod |
Get the method with the specified name and parameter types.
| |
GetMethods(String, Boolean) |
Get all methods with the specified name.
| |
GetMethods(String, Boolean, NamedObjectGroup) |
Get all methods with the specified name.
| |
GetNamespace |
Get the Namespace for this CodeObject.
| |
GetNestedType |
Get the nested type with the specified name.
| |
GetProperty |
Get the property with the specified name.
| |
IsAssignableFrom |
Determine if the type is assignable from the specified type.
| |
IsImplementationOf |
Determine if the type implements the specified interface type.
| |
IsSubclassOf |
Determine if the type is a subclass of the specified type.
| |
RemoveFromDictionary |
Remove the CodeObject from the specified dictionary.
(Inherited from INamedCodeObject.) | |
ResolveIndexerRef |
Resolve indexers.
| |
ResolveRef |
Resolve child code objects that match the specified name.
|