BrokerObserver
var monitor = BrokerObserver.Using(aBrokerInstance)
.WaitingFor<MySampleMessage>();var monitor = BrokerObserver.Using(aBrokerInstance)
.WaitingFor<MySampleMessage>();
DelegateCommand.Create()
.OnCanExecute(state =>
{
//evaluate if the command can be executed.
return true;
})
.OnExecute(state =>
{
//execute the command
})
.AddMonitor(monitor);Last updated