PostSharp.ILAPI 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 Delegate).

Constructors

Name Description
EventAccessor(Object, IntPtr)

Methods

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