コード例 #1
0
 public DialogButtonViewModel(AsyncCommandFactory commandFactory)
 {
     OkCommand = commandFactory.CreateSyncCommand(OkPressed);
 }
コード例 #2
0
        private void GivenEndlessCommand()
        {
            var commandFactory = new AsyncCommandFactory(new FatalHandlerMock());

            _command = commandFactory.CreateSyncCommand(EndlessAction);
        }
 public DialogCancelButtonViewModel(AsyncCommandFactory commandFactory)
     : base(commandFactory)
 {
     CancelCommand = commandFactory.CreateSyncCommand(CancelPressed);
 }