MetalamaAPI documentationAspect APIMetalama.​Framework.​AspectsIMeta­TargetMethod
Open sandboxFocus

IMetaTarget.Method Property

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(Object[]), e.g. meta.Target.Method.Invoke(1, 2, 3);.