PostSharp//API Reference/Post­Sharp.​Aspects/IEvent­Binding/Invoke­Handler
Open sandboxFocus

Method InvokeHandler

InvokeHandler(ref Object, Delegate, Arguments)

Invoke the Invoke semantic on the next node in the chain of invocation.

Declaration
object InvokeHandler(ref object instance, Delegate handler, Arguments arguments)
Parameters
Type Name Description
Object instance

Target instance on which the event is defined (null if the event is static).

Delegate handler

Handler to be removed from the event.

Arguments arguments

Arguments with which the handler should be invoked.

Returns
Type Description
Object

The value returned by the handler.