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
- object
- MemberModel
- MemberModel<IType>
- TypeModel
- 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
| Assembly | Gets the assembly that contains the type. |
| DeclaringType | Gets the declaring type of the type. |
| ExtensionMethods | Gets the extension methods of the type. |
| ExtensionProperties | Gets the extension properties of the type. |
| HierarchyPath | Gets the hierarchy of parent document models that lead to this member. |
| MemberNameQualifier | Gets the name qualifier to use for formatting the member's name. |
| Members | Gets 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. |
