IMemberAdapterFactory.CreateFieldMetadata Method
- Namespace
- Kampute.DocToolkit.Metadata
- Assembly
- Kampute.DocToolkit.dll
Definition
Creates the field metadata for the specified field within the given declaring type.
IField CreateFieldMetadata(IType declaringType, FieldInfo fieldInfo)Parameters
declaringTypeIType- The type metadata that contains the field.
fieldInfoFieldInfo- The reflection field to get metadata for.
Returns
- IField
- A metadata representation of the specified field.
Exceptions
- ArgumentNullException
- Thrown when
declaringTypeorfieldInfoisnull. - ArgumentException
- Thrown when
fieldInfodoes not belong todeclaringType.
