OperatorAdapter Constructor

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

Definition

Initializes a new instance of the OperatorAdapter class.
public OperatorAdapter(IType declaringType, MethodInfo method)

Parameters

declaringType IType
The declaring type of the operator method.
method MethodInfo
The operator method to wrap.

Exceptions

ArgumentNullException
Thrown when method is null.
ArgumentException
Thrown when method is not an operator method of declaringType.