Aracılığıyla paylaş


IMessagingCenter Interface

Definition

Enables view models and other components to communicate by adhering to a message contract.

public interface IMessagingCenter
type IMessagingCenter = interface
Derived

Methods

Send<TSender,TArgs>(TSender, String, TArgs)

Sends a named message with the specified arguments.

Send<TSender>(TSender, String)

Sends a named message that has no arguments.

Subscribe<TSender,TArgs>(Object, String, Action<TSender,TArgs>, TSender)

Run the callback on subscriber in response to parameterized messages that are named message and that are created by source.

Subscribe<TSender>(Object, String, Action<TSender>, TSender)

Run the callback on subscriber in response to messages that are named message and that are created by source.

Unsubscribe<TSender,TArgs>(Object, String)

Unsubscribes from the specified parameterless subscriber messages.

Unsubscribe<TSender>(Object, String)

Unsubscribes a subscriber from the specified messages that come from the specified sender.

Applies to