IClassType Interface

Namespace
Kampute.DocToolkit.Metadata
Assembly
  • Kampute.DocToolkit.dll

Definition

Defines a contract for accessing class-specific metadata.
public interface IClassType : ICompositeType
Extends
Implemented by

Properties

DerivedTypesGets the types that directly derive from the class in the same assembly.
IsAbstractGets a value indicating whether the class is abstract.
IsSealedGets a value indicating whether the class is sealed.

Methods

IsSubclassOf(IClassType)Determines whether the type is a subclass of the given type, including indirect inheritance through the type hierarchy.

Extension Methods

GetInheritedMember(this IMember)Retrieves the member that this member directly inherits from.
GetMemberDefinition(this IMember)Retrieves the definition of the member, resolving any constructed or decorated forms to their underlying definitions.
GetMembers(this IType)Gets all members directly declared by the type, excluding nested types.
GetMembersIncludingNested(this IType)Gets all members of the type, including its nested types and their members at all nesting levels.
TryGetOwnTypeParameters(this IMember, out IEnumerable<ITypeParameter>)Attempts to get the type parameters declared directly by the specified member if it is generic.