PostSharp4.3//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: 4.3.48.0 (4.3.48.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.
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
Remarks
See Also