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
declaringTypeTypeModel- The declaring type of the property.
propertyIProperty- The metadata of the property represented by this instance.
Exceptions
- ArgumentNullException
- Thrown when
declaringTypeorpropertyisnull. - ArgumentException
- Thrown when
propertyis not a property ofdeclaringType.
