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

IEventInterceptionAspect.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]
void OnAddHandler(EventInterceptionArgs args)
Parameters
Type Name Description
EventInterceptionArgs args

Handler arguments.