MemberAdapterRepository.GetPropertyMetadata Method

Namespace
Kampute.DocToolkit.Metadata.Adapters
Assembly
  • Kampute.DocToolkit.dll

Definition

Gets the property metadata for the specified property within the assembly.
public virtual IProperty GetPropertyMetadata(PropertyInfo propertyInfo)

Parameters

propertyInfo PropertyInfo
The reflection property to get metadata for.

Returns

IProperty
A metadata representation of the specified property.

Exceptions

ArgumentNullException
Thrown when propertyInfo is null.
ArgumentException
Thrown when propertyInfo does not belong to the assembly.