CompositeTypeAdapter Constructor
- Namespace
- Kampute.DocToolkit.Metadata.Adapters
- Assembly
- Kampute.DocToolkit.dll
Definition
Initializes a new instance of the CompositeTypeAdapter class.
protected CompositeTypeAdapter(object declaringEntity, Type type)Parameters
declaringEntityobject- The assembly or type that declares the type.
typeType- The reflection information of the type to wrap.
Exceptions
- ArgumentNullException
- Thrown when
declaringEntityortypeisnull. - ArgumentException
- Thrown when
declaringEntityis neither an IAssembly nor an IType. - Thrown when
typeis not declared by thedeclaringEntity. - Thrown when
typeis a nested type butdeclaringEntityis an assembly, or whentypeis a top-level type butdeclaringEntityis a type.
