PostSharp6.1/API Reference/Post­Sharp.​Aspects Namespace/Event­Interception­Args Class/Event­Interception­Args Methods

EventInterceptionArgs Methods

The EventInterceptionArgs type exposes the following members.

Methods
  NameDescription
Public methodAddHandler
Adds a handler to the event by invoking the Add semantic of the next node in the chain of invocation.
Public methodInvokeHandler
Invokes a handler by calling the Invoke semantic of the next node in the chain of invocation.
Public methodProceedAddHandler
Proceeds with adding the Delegate to the event to which the current aspect. This method invokes the next handler in chain. It is typically invoked from the implementation of OnAddHandler(EventInterceptionArgs).
Public methodProceedInvokeHandler
Proceeds with invoking the Delegate with the arguments specified in the Arguments property. The delegate may change the Arguments and set the ReturnValue. This method invokes the next handler in chain. It is typically invoked from the implementation of OnInvokeHandler(EventInterceptionArgs).
Public methodProceedRemoveHandler
Proceeds with removing the Delegate from the event to which the current aspect. This method invokes the next handler in chain. It is typically invoked from the implementation of OnRemoveHandler(EventInterceptionArgs).
Public methodRemoveHandler
Removes a handler from the event by invoking the Remove semantic of the next node in the chain of invocation.
See Also