예제 #1
0
 public AsyncCancelCommand(AsyncCommandBase command)
 {
     asyncCommandBase = command;
     asyncCommandBase.PropertyChanged += (sender, e) => CanExecuteChanged?.Invoke(this, EventArgs.Empty);
 }
예제 #2
0
 public AsyncCancelCommand(AsyncCommandBase command)
 {
     asyncCommandBase = command;
     asyncCommandBase.PropertyChanged += (sender, e) => CanExecuteChanged?.Invoke(this, EventArgs.Empty);
 }