TypeParameterAdapter Constructor

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

Definition

Initializes a new instance of the TypeParameterAdapter class.
public TypeParameterAdapter(IAssembly assembly, Type type)

Parameters

assembly IAssembly
The assembly that declares the generic parameter.
type Type
The reflection information of the runtime generic parameter to wrap.

Exceptions

ArgumentNullException
Thrown when assembly or type is null.
ArgumentException
Thrown when type is not declared by the assembly.
Thrown when type is not a generic type parameter.