Exemplo n.º 1
0
 public void Dispose()
 {
     this.canExecute = _ => false;
     this._execution = null;
 }
Exemplo n.º 2
0
 public override Task ExecuteAsync(object parameter)
 {
     Execution = new NotifyTaskCompletion <TResult>(_command());
     return(Execution.TaskCompletion);
 }