MemberAdapterRepository.CreateFieldMetadata Method

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

Definition

Creates field metadata for the specified reflection field.
protected virtual IField CreateFieldMetadata(FieldInfo fieldInfo)

Parameters

fieldInfo FieldInfo
The reflection field to create metadata for.

Returns

IField
The metadata representation of the specified field.

Exceptions

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