1 instantiation of Scheduler
System.Activities (1)
System\Activities\Runtime\ActivityExecutor.cs (1)
122this.scheduler = new Scheduler(new Scheduler.Callbacks(this));
32 references to Scheduler
System.Activities (32)
System\Activities\Runtime\ActivityExecutor.cs (26)
53Scheduler scheduler; 122this.scheduler = new Scheduler(new Scheduler.Callbacks(this)); 570internal Scheduler SerializedScheduler 1792this.scheduler.OnDeserialized(new Scheduler.Callbacks(this)); 1844internal Scheduler.RequestedAction TryExecuteNonEmptyWorkItem(WorkItem workItem) 1871return Scheduler.YieldSilently; 1898return Scheduler.Continue; 1904internal Scheduler.RequestedAction OnExecuteWorkItem(WorkItem workItem) 1911return Scheduler.Continue; 1929return Scheduler.Continue; 1938return Scheduler.YieldSilently; 1944return Scheduler.Continue; 1959return Scheduler.YieldSilently; 1965return Scheduler.Continue; 1974return Scheduler.CreateNotifyUnhandledExceptionAction(workItem.ExceptionToPropagate, workItem.OriginalExceptionSource); 1977return Scheduler.Continue; 1997Scheduler.RequestedAction resumptionAction = Scheduler.Continue; 2025resumptionAction = Scheduler.YieldSilently; 2043resumptionAction = Scheduler.CreateNotifyUnhandledExceptionAction(workItem.ExceptionToPropagate, workItem.OriginalExceptionSource); 2050if (resumptionAction != Scheduler.YieldSilently) 2056Fx.Assert(resumptionAction != Scheduler.YieldSilently, "should not reach this section if we've yielded earlier"); 2062Scheduler.RequestedAction resumptionAction = Scheduler.Continue; 2079resumptionAction = Scheduler.CreateNotifyUnhandledExceptionAction(workItem.ExceptionToPropagate, workItem.OriginalExceptionSource); 2472Scheduler localScheduler = this.scheduler;
System\Activities\Runtime\Scheduler.cs (6)
286internal void Open(Scheduler oldScheduler) 303this.synchronizationContext.Post(Scheduler.onScheduledWorkCallback, this); 391Scheduler thisPtr = (Scheduler)state; 570if (!object.ReferenceEquals(action, Scheduler.YieldSilently)) 574action = Scheduler.Abort;