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 the type only has a default public constructor without any documentation, the constructor is considered implicit and the collection will be empty.