MemberAdapterRepository.CreateConstructorMetadata Method

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

Definition

Creates constructor metadata for the specified reflection constructor.
protected virtual IConstructor CreateConstructorMetadata(ConstructorInfo constructorInfo)

Parameters

constructorInfo ConstructorInfo
The reflection constructor to create metadata for.

Returns

IConstructor
The metadata representation of the specified constructor.

Exceptions

ArgumentNullException
Thrown when constructorInfo is null.
ArgumentException
Thrown when the provided constructor does not belong to the assembly of this provider.