Event<TDelegate> Class |
Exposes the semantics of an event for use with the ImportMemberAttribute aspect extension.
Namespace: PostSharp.Aspects.Advices
Assembly: PostSharp (in PostSharp.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
[SerializableAttribute] public sealed class Event<TDelegate>
Type Parameters
- TDelegate
- Handler type (derived from Delegate).
The Event<TDelegate> type exposes the following members.
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.
|