MemberAdapterFactory.CreateConstructorMetadata Method
- Namespace
- Kampute.DocToolkit.Metadata.Adapters
- Assembly
- Kampute.DocToolkit.dll
Definition
Creates the constructor metadata for the specified constructor within the given declaring type.
public virtual IConstructor CreateConstructorMetadata(IType declaringType, ConstructorInfo constructorInfo)Parameters
declaringTypeIType- The type metadata that contains the constructor.
constructorInfoConstructorInfo- The reflection constructor to get metadata for.
Returns
- IConstructor
- A metadata representation of the specified constructor.
Exceptions
- ArgumentNullException
- Thrown when
declaringTypeorconstructorInfoisnull. - ArgumentException
- Thrown when
constructorInfodoes not belong todeclaringType.
