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: 5.0.55.0 (5.0.55.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.
|
Name | Description | |
---|---|---|
QueryInterface<T> |
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.) |