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
assemblyIAssembly- The assembly that declares the generic parameter.
typeType- The reflection information of the runtime generic parameter to wrap.
Exceptions
- ArgumentNullException
- Thrown when
assemblyortypeisnull. - ArgumentException
- Thrown when
typeis not declared by theassembly. - Thrown when
typeis not a generic type parameter.
