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