Ejemplo n.º 1
0
        //public WorkflowResults CreateAbortedWorkflowResults(WorkflowEventArgs args)
        //{
        //    WorkflowResults results = new WorkflowResults(args);
        //    results.Status = WorkflowStatus.Aborted;
        //    return results;
        //}

        public static WorkflowResults CreateRunningWorkflowResults(WorkflowEventArgs args)
        {
            WorkflowResults results = new WorkflowResults(args);

            results.Status = WorkflowStatus.Running;
            return(results);
        }
Ejemplo n.º 2
0
        public static WorkflowResults CreateTerminatedWorkflowResults(WorkflowTerminatedEventArgs args)
        {
            WorkflowResults results = new WorkflowResults(args);

            results.Status = WorkflowStatus.Terminated;
            return(results);
        }
Ejemplo n.º 3
0
        public static WorkflowResults CreateCompletedWorkflowResults(WorkflowCompletedEventArgs args)
        {
            WorkflowResults results = new WorkflowResults(args);

            results.Status = WorkflowStatus.Completed;
            return(results);
        }
Ejemplo n.º 4
0
 void Runtime_WorkflowIdled(object sender, WorkflowEventArgs e)
 {
     CurrentResultsInContext = WorkflowResults.CreateRunningWorkflowResults(e);
 }
Ejemplo n.º 5
0
 void Runtime_WorkflowCompleted(object sender, WorkflowCompletedEventArgs e)
 {
     CurrentResultsInContext =
         WorkflowResults.CreateCompletedWorkflowResults(e);
 }
Ejemplo n.º 6
0
 public static WorkflowResults CreateTerminatedWorkflowResults(WorkflowTerminatedEventArgs args)
 {
     WorkflowResults results = new WorkflowResults(args);
     results.Status = WorkflowStatus.Terminated;
     return results;
 }
Ejemplo n.º 7
0
 //public WorkflowResults CreateAbortedWorkflowResults(WorkflowEventArgs args)
 //{
 //    WorkflowResults results = new WorkflowResults(args);
 //    results.Status = WorkflowStatus.Aborted;
 //    return results;
 //}
 public static WorkflowResults CreateRunningWorkflowResults(WorkflowEventArgs args)
 {
     WorkflowResults results = new WorkflowResults(args);
     results.Status = WorkflowStatus.Running;
     return results;
 }
Ejemplo n.º 8
0
 public static WorkflowResults CreateCompletedWorkflowResults(WorkflowCompletedEventArgs args)
 {
     WorkflowResults results = new WorkflowResults(args);
     results.Status= WorkflowStatus.Completed;
     return results;
 }