Editar

Compartilhar via


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 (CommunityToolkit.Mvvm.Messaging.IMessenger messenger);
new CommunityToolkit.Mvvm.ComponentModel.ObservableRecipient : CommunityToolkit.Mvvm.Messaging.IMessenger -> CommunityToolkit.Mvvm.ComponentModel.ObservableRecipient
Protected Sub New (messenger As IMessenger)

Parameters

messenger
IMessenger

The IMessenger instance to use to send messages.

Applies to