Open sandboxFocus

Delegate EventAccessor<TDelegate>

Defines the signature of methods implementing the Add and Remove semantics of an event.

Namespace: PostSharp.Aspects.Advices
Assembly: PostSharp.dll
Syntax
public delegate void EventAccessor<TDelegate>(TDelegate @delegate)
Parameters
Type Name Description
TDelegate delegate

Handler.

Type Parameters
Name Description
TDelegate

Handler type (derived from Delegate).

Constructors

Name Description
EventAccessor(object, nint)

Methods

Name Description
BeginInvoke(TDelegate, AsyncCallback, object)
EndInvoke(IAsyncResult)
Invoke(TDelegate)

See Also

Event<TDelegate>