Method ForProperty
ForProperty(PropertyInfo)
Creates a descriptor for a property.
public static MemberDescriptor ForProperty(PropertyInfo property)
Parameters
propertyPropertyInfoThe property to describe.
Returns
- MemberDescriptor
The descriptor.
Exceptions
- ArgumentNullException
propertyis null.- ArgumentException
The property is indexed.