PostSharp//API Reference/Post­Sharp.​Aspects/Method­Implementation­Aspect/On­Invoke
Open sandboxFocus

Method OnInvoke

OnInvoke(MethodInterceptionArgs)

Method invoked instead of the method to which the aspect has been applied.

Declaration
public abstract void OnInvoke(MethodInterceptionArgs args)
Parameters
Type Name Description
MethodInterceptionArgs args

Advice arguments.

Implements
IMethodInterceptionAspect.OnInvoke(MethodInterceptionArgs)