EnumModel Class

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

Definition

Represents a documentation model for a .NET enumeration type.
public class EnumModel : TypeModel<IEnumType>
Inheritance

Thread Safety

All public members of the type are guaranteed to be thread-safe.

Constructors

EnumModel(object, IEnumType)Initializes a new instance of the EnumModel class.
EnumModel(AssemblyModel, IEnumType)Initializes a new instance of the EnumModel class as a top-level type.
EnumModel(TypeModel, IEnumType)Initializes a new instance of the EnumModel class as a nested type.

Properties

MembersGets all the members declared or implemented by the type.
ModelTypeGets the type of the documentation model.
ValuesGets the values of the enumeration type.

Methods

FindMember(IMember)Finds the documentation model representing the specified reflection member metadata within the type.