CompositeTypeModel.Constructors Property
- Namespace
- Kampute.DocToolkit.Models
- Assembly
- Kampute.DocToolkit.dll
Definition
Gets the constructors declared by the type and visible within its scope.
public IReadOnlyList<ConstructorModel> Constructors { get; }Property Value
- IReadOnlyList<ConstructorModel>
- A read-only collection of ConstructorModel representing the constructors declared by the type. The constructors in the collection are ordered by their number of parameters.
Remarks
If a type defines only a default constructor and that constructor has no documentation, it is treated as compiler-generated and omitted from the collection. This reduces clutter in the generated documentation by hiding trivial constructors that add no useful information.
