MetalamaAPI documentationPost­Sharp API migrationPost­Sharp.​AspectsOn­Method­Boundary­AspectOn­Exit
Open sandboxFocus

OnMethodBoundaryAspect.OnExit Method

OnExit(MethodExecutionArgs)

Implement OverrideMethod(), call meta.Proceed() in a try/finally block, and add this logic to the finally block.

Declaration
public virtual void OnExit(MethodExecutionArgs args)
Parameters
Type Name Description
MethodExecutionArgs args
Implements
IOnMethodBoundaryAspect.OnExit(MethodExecutionArgs)