Click or drag to resize

ITypeDecl Interface

This interface is implemented by all code objects that represent type declarations, which includes TypeDecl, TypeParameter, and Alias.

Namespace:  Nova.CodeDOM
Assembly:  Nova.CodeDOM (in Nova.CodeDOM.dll) Version: 7.44.8391.13415
Syntax
C#
public interface ITypeDecl : INamedCodeObject

The ITypeDecl type exposes the following members.

Properties
  NameDescription
Public propertyCategory
The descriptive category of the CodeObject.
(Inherited from INamedCodeObject.)
Public propertyIsAbstract
True if the type is abstract.
Public propertyIsClass
True if the type is a class.
Public propertyIsDelegateType
True if the type is a delegate type.
Public propertyIsEnum
True if the type is an enum.
Public propertyIsGenericParameter
True if the type is a generic parameter.
Public propertyIsGenericType
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).
Public propertyIsInterface
True if the type is an interface.
Public propertyIsNested
True if the type is a nested type.
Public propertyIsNullableType
True if the type is a nullable type.
Public propertyIsPartial
True if the type is a partial type.
Public propertyIsStruct
True if the type is a struct.
Public propertyIsValueType
True if the type is a value type.
Public propertyName
The name of the CodeObject.
(Inherited from INamedCodeObject.)
Public propertyParent
The parent CodeObject.
Public propertyTypeParameterCount
The number of TypeParameters the type has.
Top
Methods
  NameDescription
Public methodAddToDictionary
Add the CodeObject to the specified dictionary.
(Inherited from INamedCodeObject.)
Public methodCreateArrayRef(Int32)
Create an array reference to the type.
Public methodCreateArrayRef(Boolean, Int32)
Create an array reference to the type.
Public methodCreateNullableRef
Create a nullable reference to the type.
Public methodCreateRef(Boolean)
Create a reference to the CodeObject.
(Inherited from INamedCodeObject.)
Public methodCreateRef(ChildListExpression, ListInt32, Int32)
Create a reference to the type.
Public methodCreateRef(Boolean, ChildListExpression, ListInt32, Int32)
Create a reference to the type.
Public methodFindParentT
Find the parent object of the specified type.
(Inherited from INamedCodeObject.)
Public methodFindTypeArgumentInBase
Find a type argument in a base class for the specified type parameter.
Public methodGetAttribute
Returns the first attribute expression (Call or ConstructorRef) with the specified name on the CodeObject.
Public methodGetBaseType
Get the base type.
Public methodGetConstructor
Get the non-static constructor with the specified parameters.
Public methodGetConstructors
Get all non-static constructors for this type.
Public methodGetDelegateParameters
Get the delegate parameters of the type (if any).
Public methodGetDelegateReturnType
Get the delegate return type of the type (if any).
Public methodGetEvent
Get the event with the specified name.
Public methodGetField
Get the field with the specified name.
Public methodGetFullName
Get the full name of the INamedCodeObject, including any namespace name.
(Inherited from INamedCodeObject.)
Public methodGetIndexer
Get the indexer with the specified parameter types.
Public methodGetMethod
Get the method with the specified name and parameter types.
Public methodGetMethods(String, Boolean)
Get all methods with the specified name.
Public methodGetMethods(String, Boolean, NamedObjectGroup)
Get all methods with the specified name.
Public methodGetNamespace
Get the Namespace for this CodeObject.
Public methodGetNestedType
Get the nested type with the specified name.
Public methodGetProperty
Get the property with the specified name.
Public methodIsAssignableFrom
Determine if the type is assignable from the specified type.
Public methodIsImplementationOf
Determine if the type implements the specified interface type.
Public methodIsSubclassOf
Determine if the type is a subclass of the specified type.
Public methodRemoveFromDictionary
Remove the CodeObject from the specified dictionary.
(Inherited from INamedCodeObject.)
Public methodResolveIndexerRef
Resolve indexers.
Public methodResolveRef
Resolve child code objects that match the specified name.
Top
See Also