TypeModel Class

Namespace
Kampute.DocToolkit.Models
Assembly
  • Kampute.DocToolkit.dll

Definition

Represents a documentation model for a .NET type.
public abstract class TypeModel : MemberModel<IType>, IComparable<TypeModel>
Inheritance
Implements
Inherited by

Remarks

The TypeModel class serves as the foundation for all type representations. It provides the base implementation for documenting .NET types, encapsulating common properties and behaviors shared across all types.

Constructors

TypeModel(object, IType)Initializes a new instance of the TypeModel class.

Properties

AssemblyGets the assembly that contains the type.
DeclaringTypeGets the declaring type of the type.
ExtensionMethodsGets the extension methods associated with the type.
HierarchyPathGets the hierarchy of parent document models that lead to this member.
MemberNameQualifierGets the name qualifier to use for formatting the member's name.
MembersGets all the members declared or implemented by the type.

Methods

CompareTo(TypeModel)Compares the current type with another type based on their full names.
FindMember(IMember)Finds the documentation model representing the specified reflection member metadata within the type.