PostSharp 4.3 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Aspects Namespace / IEvent­Interception­Aspect Interface / IEvent­Interception­Aspect Methods
IEventInterceptionAspect Methods

The IEventInterceptionAspect type exposes the following members.

Methods
  Name Description
Public method OnAddHandler
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.
Public method OnInvokeHandler
Method invoked when the event to which the current aspect is applied is fired, for each delegate of this event, and instead of invoking this delegate.
Public method OnRemoveHandler
Method invoked instead of the Remove semantic of the event to which the current aspect is applied, i.e. when a delegate is removed from this event.
Public method RuntimeInitialize
Initializes the current aspect.
(Inherited from IEventLevelAspect.)
See Also