33 references to Scheduler
System.Workflow.Runtime (33)
WorkflowExecutor.cs (31)
260this.Scheduler.CanRun = true; 271this.Scheduler.ResumeIfRunnable(); 777this.Scheduler.Run(); 798if (this.Scheduler.IsStalledNow) 808if (this.Scheduler.IsStalledNow) 971this.Scheduler.CanRun = true; 1176this.rootActivity.SetValue(IsBlockedProperty, this.Scheduler.IsStalledNow); 1195if (this.Scheduler != null) 1196this.Scheduler.PostPersist(); 1204if (this.Scheduler != null) 1205this.Scheduler.Rollback(); 1299if ((this.WorkflowStatus == WorkflowStatus.Suspended) || (!this.Scheduler.CanRun)) 1425get { return ((this.currentAtomicActivity == null) && (this.Scheduler.IsStalledNow || this.WorkflowStatus == WorkflowStatus.Suspended)); } 1572this.Scheduler.CanRun = false; 1596this.Scheduler.CanRun = true; 1630this.Scheduler.AbortOrTerminateRequested = true; 1632this.Scheduler.CanRun = false; 1669this.Scheduler.CanRun = false; 1739this.Scheduler.CanRun = true; 1764this.Scheduler.AbortOrTerminateRequested = true; 1766this.Scheduler.CanRun = false; 1811this.Scheduler.CanRun = false; 1885this.Scheduler.CanRun = false; 1922this.Scheduler.CanRun = true; 1935this.Scheduler.CanRun = false; 2031if ((this.WorkflowStatus != WorkflowStatus.Suspended) && (!this.Scheduler.CanRun)) 2051this.Scheduler.Resume(); 2055this.Scheduler.CanRun = true; 2543this.Scheduler.ScheduleItem(item, false, true); 2681this.Scheduler.CanRun = false; 2851this.Scheduler.ScheduleItem(item, isInAtomicTransaction, transacted);
WorkflowStateRollbackService.cs (2)
70this.workflowExecutor.Scheduler.CanRun = false; 138newWorkflowExecutor.Scheduler.Resume();