Skip to main content
A newer version of this page is available. .

Messenger Members

Implements the IMessenger interface and allows you to exchange messages between application modules.

Constructors

Name Description
Messenger() Initializes a new instance of the Messenger class.
Messenger(Boolean, ActionReferenceType) Initializes a new instance of the Messenger class with specified settings.
Messenger(Boolean, IActionInvokerFactory) Initializes a new instance of the Messenger class with specified settings.

Properties

Name Description
Default static Gets or sets the default messenger.

Methods

Name Description
Cleanup() Removes all references to the actions that belong to non-existing recipients.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Register<TMessage>(Object, Object, Boolean, Action<TMessage>) Registers a handler of a specific message type.
RequestCleanup() Executes the Cleanup() method asynchronously when the current application is idle.
Send<TMessage>(TMessage, Type, Object) Sends the specified message.
ToString() Returns a string that represents the current object. Inherited from Object.
Unregister(Object) Unregisters the specified object from all registered message handlers.
Unregister<TMessage>(Object, Object, Action<TMessage>) Unsubscribes the specified object’s action from being invoked when a specific message occurs.
See Also