Share via


Microsoft.Practices.Prism.PubSubEvents Namespace

 

Classes

  Class Description
Public class BackgroundEventSubscription<TPayload>
Extends EventSubscription<TPayload> to invoke the Action delegate in a background thread.
Public class DataEventArgs<TData>
Generic arguments class to pass to event handlers that need to receive data.
Public class DelegateReference
Represents a reference to a Delegate that may contain a WeakReference to the target. This class is used internally by the Prism Library.
Public class DispatcherEventSubscription<TPayload>
Extends EventSubscription<TPayload> to invoke the Action delegate in a specific SynchronizationContext.
Public class EventAggregator
Implements IEventAggregator.
Public class EventBase
Defines a base class to publish and subscribe to events.
Public class EventSubscription<TPayload>
Provides a way to retrieve a Delegate to execute an action depending on the value of a second filter predicate that returns true if the action should execute.
Public class PubSubEvent<TPayload>
Defines a class that manages publication and subscription to events.
Public class SubscriptionToken
Subscription token returned from EventBase on subscribe.

Interfaces

  Interface Description
Public interface IDelegateReference
Represents a reference to a Delegate.
Public interface IEventAggregator
Defines an interface to get instances of an event type.
Public interface IEventSubscription
Defines a contract for an event subscription to be used by EventBase.

Enumerations

  Enumeration Description
Public enumeration ThreadOption
Specifies on which thread a PubSubEvent<TPayload> subscriber will be called.