PostSharpAPI ReferencePost­Sharp.​AspectsMethod­Implementation­AspectOn­Invoke
Open sandboxFocus

MethodImplementationAspect.OnInvoke Method

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)