ConstructorAdapter Constructor

Namespace
Kampute.DocToolkit.Metadata.Adapters
Assembly
  • Kampute.DocToolkit.dll

Definition

Initializes a new instance of the ConstructorAdapter class.
public ConstructorAdapter(IType declaringType, ConstructorInfo constructor)

Parameters

declaringType IType
The declaring type of the constructor.
constructor ConstructorInfo
The constructor to wrap.

Exceptions

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