Modifica

Condividi tramite


ObservableRecipient.Broadcast<T>(T, T, String) Method

Definition

Broadcasts a PropertyChangedMessage<T> with the specified parameters, without using any particular token (so using the default channel).

protected virtual void Broadcast<T> (T oldValue, T newValue, string? propertyName);
abstract member Broadcast : 'T * 'T * string -> unit
override this.Broadcast : 'T * 'T * string -> unit
Protected Overridable Sub Broadcast(Of T) (oldValue As T, newValue As T, propertyName As String)

Type Parameters

T

The type of the property that changed.

Parameters

oldValue
T

The value of the property before it changed.

newValue
T

The value of the property after it changed.

propertyName
String

The name of the property that changed.

Remarks

You should override this method if you wish to customize the channel being used to send the message (eg. if you need to use a specific token for the channel).

Applies to