public UIThreadOperationStatus Execute(UIThreadOperationExecutionOptions executionOptions, Action <IUIThreadOperationContext> action)
        {
            var context = new DefaultUIThreadOperationContext(executionOptions.AllowCancellation, executionOptions.DefaultDescription);

            action(context);
            return(UIThreadOperationStatus.Completed);
        }
 public IUIThreadOperationContext BeginExecute(UIThreadOperationExecutionOptions executionOptions)
 {
     return(new DefaultUIThreadOperationContext(executionOptions.AllowCancellation, executionOptions.DefaultDescription));
 }
예제 #3
0
 public UIThreadOperationStatus Execute(UIThreadOperationExecutionOptions executionOptions, Action <IUIThreadOperationContext> action)
 {
     throw new NotImplementedException();
 }
예제 #4
0
 public IUIThreadOperationContext BeginExecute(UIThreadOperationExecutionOptions executionOptions)
 {
     throw new NotImplementedException();
 }
 public UIThreadOperationStatus Execute(UIThreadOperationExecutionOptions executionOptions, Action <IUIThreadOperationContext> action)
 {
     return(BestImplementation.Execute(executionOptions, action));
 }
 public IUIThreadOperationContext BeginExecute(UIThreadOperationExecutionOptions executionOptions)
 {
     return(BestImplementation.BeginExecute(executionOptions));
 }