Class Event<TDelegate>
Exposes the semantics of an event for use with the ImportMemberAttribute aspect extension.
Namespace: PostSharp.Aspects.Advices
Assembly: PostSharp.dll
Syntax
public sealed class Event<TDelegate> : Object
Type Parameters
Name | Description |
---|---|
TDelegate | Handler type (derived from Delegate). |
Constructors
Name | Description |
---|---|
Event(EventAccessor<TDelegate>, EventAccessor<TDelegate>) |
Properties
Name | Description |
---|---|
Add | Gets a delegate enabling to invoke the add accessor of the imported event. |
Remove | Gets a delegate enabling to invoke the remove accessor of the imported event. |