IMemberAdapterRepository.GetFieldMetadata Method

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

Definition

Gets the field metadata for the specified field within the assembly.
IField GetFieldMetadata(FieldInfo fieldInfo)

Parameters

fieldInfo FieldInfo
The reflection field to get metadata for.

Returns

IField
A metadata representation of the specified field.

Exceptions

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