MemberAdapterRepository.GetTypeMetadata Method

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

Definition

Gets the type metadata for the specified type within the assembly.
public virtual IType GetTypeMetadata(Type type)

Parameters

type Type
The reflection type to get metadata for.

Returns

IType
A metadata representation of the specified type.

Exceptions

ArgumentNullException
Thrown when type is null.
ArgumentException
Thrown when type does not belong to the assembly.
NotSupportedException
Thrown when the type is not supported.