Editar

Compartir a través de


ObservableRecipient Constructors

Definition

Overloads

ObservableRecipient()

Initializes a new instance of the ObservableRecipient class.

ObservableRecipient(IMessenger)

Initializes a new instance of the ObservableRecipient class.

ObservableRecipient()

Initializes a new instance of the ObservableRecipient class.

protected ObservableRecipient ();
Protected Sub New ()

Remarks

This constructor will produce an instance that will use the Default instance to perform requested operations. It will also be available locally through the Messenger property.

Applies to

ObservableRecipient(IMessenger)

Initializes a new instance of the ObservableRecipient class.

protected ObservableRecipient (Microsoft.Toolkit.Mvvm.Messaging.IMessenger messenger);
new Microsoft.Toolkit.Mvvm.ComponentModel.ObservableRecipient : Microsoft.Toolkit.Mvvm.Messaging.IMessenger -> Microsoft.Toolkit.Mvvm.ComponentModel.ObservableRecipient
Protected Sub New (messenger As IMessenger)

Parameters

messenger
IMessenger

The IMessenger instance to use to send messages.

Applies to