PostSharp.ILAPI ReferencePost­Sharp.​AspectsEvent­Interception­AspectOn­Add­Handler
Open sandboxFocus

EventInterceptionAspect.OnAddHandler Method

OnAddHandler(EventInterceptionArgs)

Method invoked instead of the Add semantic of the event to which the current aspect is applied, i.e. when a new delegate is added to this event.

Declaration
[RequiresEventInterceptionAdviceAnalysis]
[RequiresDebuggerEnhancement]
[HasInheritedAttribute]
[EventInterceptionAdviceOptimization]
public virtual void OnAddHandler(EventInterceptionArgs args)
Parameters
Type Name Description
EventInterceptionArgs args

Handler arguments.

Implements
IEventInterceptionAspect.OnAddHandler(EventInterceptionArgs)