IMethod.IsExtensionMethodFor Method

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

Definition

Determines whether the method is an extension method for the given type.
bool IsExtensionMethodFor(IType type)
This method has a default implementation in the interface.

Parameters

type IType
The type to check against.

Returns

bool
true if the method is an extension method for the specified type; otherwise, false.

Exceptions

ArgumentNullException
Thrown when type is null.