BrokerObserver
Last updated
Last updated
As for the or the the BrokerObserver is an easy shortcut to react to message arrivals when using .
We can use a monitor to trigger, for example, the CanExecuteChanged
event of a ICommand
interface implementation:
What the above code does is to trigger the CanExecuteChanged
logic each time a message of type MySampleMessage
is delivered via the monitored message broker.