In This Article

ITypeReference Interface

Provides the base requirements of a type reference.

public interface ITypeReference

Properties

AssemblyName

The IAssemblyName of the assembly in which this type is defined, if known.

IAssemblyName? AssemblyName { get; }

Property Value

IAssemblyName

IsGenericType

Indicates whether the current type is a generic type.

bool IsGenericType { get; }

Property Value

bool

IsTypeDefinition

Indicates whether the current type is a type definition, from which other types can be constructed.

bool IsTypeDefinition { get; }

Property Value

bool

IsTypeParameter

Indicates whether the current type is a generic type parameter.

bool IsTypeParameter { get; }

Property Value

bool

QualifiedName

The IQualifiedName that indicates the qualified name of the current type.

IQualifiedName? QualifiedName { get; }

Property Value

IQualifiedName

TypeArguments

The collection of generic type arguments, when the current type is a constructed generic type.

ITypeReferenceCollection TypeArguments { get; }

Property Value

ITypeReferenceCollection

Extension Methods