Open sandboxFocus

Property Method

Method

Gets the target method, or the accessor if this is a template for a field, property or event, or throws an exception if the advice does not target a method or accessor.

Declaration
IMethod Method { get; }
Property Value
Type Description
IMethod
Remarks

To invoke the method, use Invoke(params dynamic?[]), e.g. meta.Target.Method.Invoke(1, 2, 3);.