ObservableRecipient Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.