MethodAdapter Constructor

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

Definition

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

Parameters

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

Exceptions

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