PostSharp 4.3 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Aspects Namespace / Event­Interception­Args Class / Event­Interception­Args Methods
EventInterceptionArgs Methods

The EventInterceptionArgs type exposes the following members.

Methods
  Name Description
Public method AddHandler
Adds a handler to the event by invoking the Add semantic of the next node in the chain of invocation.
Public method InvokeHandler
Invokes a handler by calling the Invoke semantic of the next node in the chain of invocation.
Public method ProceedAddHandler
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 method ProceedInvokeHandler
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 method ProceedRemoveHandler
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 method RemoveHandler
Removes a handler from the event by invoking the Remove semantic of the next node in the chain of invocation.
Extension Methods
  Name Description
Public Extension Method QueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
See Also