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

declaringEntity object
The object that declares the type, which is either an AssemblyModel for top-level types or a TypeModel for nested types.
type T
The metadata of the type represented by this instance.

Exceptions

ArgumentNullException
Thrown when type or declaringEntity is null.
ArgumentException
Thrown when declaringEntity is not a relevant instance of AssemblyModel or TypeModel.