MemberAdapterFactory.CreateSpecificTypeMetadata Method

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

Definition

Creates type metadata for the specified type, using the provided declaring entity.
protected virtual IType CreateSpecificTypeMetadata(object declaringEntity, Type type)

Parameters

declaringEntity object
The declaring entity, which can be either an IAssembly or an IType.
type Type
The type for which to create metadata.

Returns

IType
An IType representing the metadata of the specified type.

Exceptions

ArgumentNullException
Thrown when declaringEntity or type is null.
ArgumentException
Thrown when declaringEntity is neither an IAssembly nor an IType.
Thrown when declaringEntity does not declare type.
NotSupportedException
Thrown when the specified type is not supported.