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
declaringTypeIType- The declaring type of the constructor.
constructorConstructorInfo- The constructor to wrap.
Exceptions
- ArgumentNullException
- Thrown when
declaringTypeorconstructorisnull. - ArgumentException
- Thrown when
constructoris not a constructor ofdeclaringType.
