예제 #1
0
        public override dynamic GetDataSet()
        {
            var task = new NotifyTaskCompletion <dynamic>(new Task <dynamic>(GetDataSetExecute));

            task.Task.Start();
            return(task);
        }
 public Task ExecuteAsync(object parameter)
 {
     Execution = new NotifyTaskCompletion <TResult>(_command(parameter));
     return(Execution.TaskCompletion != null ? Execution.TaskCompletion : Execution.Task);
 }