public AsyncCommand(Func <Task> command, INotifyCanExecute caneExecute, IFatalHandler fatalHandler) { _command = command; _caneExecute = caneExecute; _fatalHandler = fatalHandler; _caneExecute.PropertyChanged += CaneExecuteOnPropertyChanged; }
public AsyncCommandFactory(IFatalHandler fatalHandler) { _fatalHandler = fatalHandler; }
public CommandTaskCompletion(Task task, IFatalHandler fatalHandler) { _fatalHandler = fatalHandler; TaskCompletion = WatchTaskAsync(task); }