PostSharpAPI ReferencePost­Sharp.​Aspects.​AdvicesEvent­Accessor<TDelegate>
Open sandboxFocus

EventAccessor<TDelegate> Class

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

Inheritance
EventAccessor<TDelegate>
Namespace: PostSharp.Aspects.Advices
Assembly: PostSharp.dll
Syntax
public sealed class EventAccessor<TDelegate> : MulticastDelegate
Type Parameters
Name Description
TDelegate

Handler type (derived from System.Delegate).

Constructors

Name Description
EventAccessor(Object, IntPtr)

Methods

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

See Also

Event<TDelegate>