PropertyModel Constructor

Namespace
Kampute.DocToolkit.Models
Assembly
  • Kampute.DocToolkit.dll

Definition

Initializes a new instance of the PropertyModel class.
public PropertyModel(TypeModel declaringType, IProperty property)

Parameters

declaringType TypeModel
The declaring type of the property.
property IProperty
The metadata of the property represented by this instance.

Exceptions

ArgumentNullException
Thrown when declaringType or property is null.
ArgumentException
Thrown when property is not a property of declaringType.