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>Type Parameters
| Name | Description |
|---|---|
| TDelegate | Handler type (derived from Delegate). |
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. |