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
declaringEntityobject- The declaring entity, which can be either an IAssembly or an IType.
typeType- The type for which to create metadata.
Returns
Exceptions
- ArgumentNullException
- Thrown when
declaringEntityortypeisnull. - ArgumentException
- Thrown when
declaringEntityis neither an IAssembly nor an IType. - Thrown when
declaringEntitydoes not declaretype. - NotSupportedException
- Thrown when the specified type is not supported.
