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