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
fieldInfoFieldInfo- The reflection field to create metadata for.
Returns
- IField
- The metadata representation of the specified field.
Exceptions
- ArgumentNullException
- Thrown when
fieldInfoisnull. - ArgumentException
- Thrown when the provided field does not belong to the assembly of this provider.
