FieldAdapter Constructor

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

Definition

Initializes a new instance of the FieldAdapter class.
public FieldAdapter(IType declaringType, FieldInfo field)

Parameters

declaringType IType
The declaring type of the field.
field FieldInfo
The field to wrap.

Exceptions

ArgumentNullException
Thrown when field is null.
ArgumentException
Thrown when field is not a field of declaringType.