ConstructorModel Constructor

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

Definition

Initializes a new instance of the ConstructorModel class.
public ConstructorModel(TypeModel declaringType, IConstructor constructor)

Parameters

declaringType TypeModel
The declaring type of the constructor.
constructor IConstructor
The constructor information.

Exceptions

ArgumentNullException
Thrown when declaringType or constructor is null.
ArgumentException
Thrown when constructor is not a constructor of declaringType.