Skip to main content

Messenger Methods

Allows you to send messages and register handlers that will process these messages.
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 Messenger.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