MemberAdapterRepository.CreatePropertyMetadata Method

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

Definition

Creates property metadata for the specified reflection property.
protected virtual IProperty CreatePropertyMetadata(PropertyInfo propertyInfo)

Parameters

propertyInfo PropertyInfo
The reflection property to create metadata for.

Returns

IProperty
The metadata representation of the specified property.

Exceptions

ArgumentNullException
Thrown when propertyInfo is null.
ArgumentException
Thrown when the provided property does not belong to the assembly of this provider.