PostSharpAPI ReferencePost­Sharp.​AspectsIEvent­BindingAdd­Handler
Open sandboxFocus

Method AddHandler

AddHandler(ref Object, Delegate)

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

void AddHandler(ref object instance, Delegate handler)
Type Name Description
Object instance

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

Delegate handler

Handler to be added to the event.