PostSharp.ILAPI ReferencePost­Sharp.​AspectsOn­Method­Boundary­AspectOn­Entry
Open sandboxFocus

OnMethodBoundaryAspect.OnEntry Method

OnEntry(MethodExecutionArgs)

Method executed before the body of methods to which this aspect is applied.

Declaration
[MethodExecutionAdviceOptimization]
[RequiresMethodExecutionAdviceAnalysis]
[RequiresDebuggerEnhancement]
[HasInheritedAttribute]
public virtual void OnEntry(MethodExecutionArgs args)
Parameters
Type Name Description
MethodExecutionArgs args

Event arguments specifying which method is being executed, which are its arguments, and how should the execution continue after the execution of OnEntry(MethodExecutionArgs).

Implements
IOnMethodBoundaryAspect.OnEntry(MethodExecutionArgs)