In This Article

ITypeDefinition Interface

Provides the base requirements of a type definition.

public interface ITypeDefinition : ITypeReference, IReflectionDefinition

Properties

BaseTypes

The collection of base type references.

ITypeReferenceCollection BaseTypes { get; }

Property Value

ITypeReferenceCollection

Docstring

The docstring for the type.

string? Docstring { get; }

Property Value

string

Fields

The collection of fields defined in the type.

IFieldDefinitionCollection Fields { get; }

Property Value

IFieldDefinitionCollection

IsPublic

Indicates whether the type is public.

bool IsPublic { get; }

Property Value

bool

Methods

The collection of methods defined in the type.

IFunctionDefinitionCollection Methods { get; }

Property Value

IFunctionDefinitionCollection

NestedTypes

The collection of nested types defined in the type.

ITypeDefinitionCollection NestedTypes { get; }

Property Value

ITypeDefinitionCollection

TextRange

The TextRange of the type definition, if known.

TextRange? TextRange { get; }

Property Value

TextRange?

Inherited Members

Extension Methods