In This Article

ITypeDefinition Interface

Provides the base requirements of a type definition.

public interface ITypeDefinition : ITypeReference, IReflectionDefinition

Properties

BaseTypes

Gets the collection of base type references.

ITypeReferenceCollection BaseTypes { get; }

Property Value

ITypeReferenceCollection:

The collection of base type references.

Docstring

Gets the docstring for the type.

string Docstring { get; }

Property Value

string:

The docstring for the type.

Fields

Gets the collection of fields defined in the type.

IFieldDefinitionCollection Fields { get; }

Property Value

IFieldDefinitionCollection:

The collection of fields defined in the type.

IsPublic

Gets whether the type is public.

bool IsPublic { get; }

Property Value

bool:

true if the type is public; otherwise, false.

Methods

Gets the collection of methods defined in the type.

IFunctionDefinitionCollection Methods { get; }

Property Value

IFunctionDefinitionCollection:

The collection of methods defined in the type.

NestedTypes

Gets the collection of nested types defined in the type.

ITypeDefinitionCollection NestedTypes { get; }

Property Value

ITypeDefinitionCollection:

The collection of nested types defined in the type.

TextRange

Gets the TextRange of the type definition, if known.

TextRange TextRange { get; }

Property Value

TextRange:

The TextRange of the type definition, if known.

Inherited Members