CompositeTypeModel<T> Constructor
- Namespace
- Kampute.DocToolkit.Models
- Assembly
- Kampute.DocToolkit.dll
Definition
Initializes a new instance of the CompositeTypeModel<T> class.
protected CompositeTypeModel<T>(object declaringEntity, T type)Parameters
declaringEntityobject- The object that declares the type, which is either an AssemblyModel for top-level types or a TypeModel for nested types.
typeT- The metadata of the type represented by this instance.
Exceptions
- ArgumentNullException
- Thrown when
typeordeclaringEntityisnull. - ArgumentException
- Thrown when
declaringEntityis not a relevant instance of AssemblyModel or TypeModel.
