PostSharp6.2/API Reference/Post­Sharp.​Aspects.​Advices Namespace/Event(TDelegate) Class

Event<TDelegate> Class

Exposes the semantics of an event for use with the ImportMemberAttribute aspect extension.
Inheritance Hierarchy
System.Object
  PostSharp.Aspects.Advices.Event<TDelegate>

Namespace:  PostSharp.Aspects.Advices
Assembly:  PostSharp (in PostSharp.dll) Version: 6.2.13.0 (6.2.13.0)
Syntax
C#
[SerializableAttribute]
public sealed class Event<TDelegate>

Type Parameters

TDelegate
Handler type (derived from Delegate).

The Event<TDelegate> type exposes the following members.

Properties
  NameDescription
Public propertyAdd
Gets a delegate enabling to invoke the add accessor of the imported event.
Public propertyRemove
Gets a delegate enabling to invoke the remove accessor of the imported event.
Remarks
See Also