2 writes to executor
System.Activities (2)
System\Activities\Hosting\WorkflowInstance.cs (2)
255
this.
executor
= new ActivityExecutor(this);
273
this.
executor
= deserializedRuntimeState as ActivityExecutor;
27 references to executor
System.Activities (27)
System\Activities\Hosting\WorkflowInstance.cs (27)
275
if (this.
executor
== null)
279
this.
executor
.ThrowIfNonSerializable();
283
WorkflowIdentity originalDefinitionIdentity = this.
executor
.WorkflowIdentity;
307
this.
executor
.WorkflowIdentity = this.DefinitionIdentity;
309
this.
executor
.UpdateInstancePhase1(updateMap, this.WorkflowDefinition, ref updateErrors);
317
this.
executor
.UpdateInstancePhase2(updateMap, ref updateErrors);
322
this.Controller.Track(new WorkflowInstanceUpdatedRecord(this.Id, this.WorkflowDefinition.DisplayName, originalDefinitionIdentity, this.
executor
.WorkflowIdentity));
349
executor
.MakeNonSerializable();
420
Fx.Assert(this.
executor
!= null, "at this point, we better have an executor");
439
this.
executor
.ScheduleRootActivity(this.WorkflowDefinition, actualInputs, workflowExecutionProperties);
443
this.
executor
.OnDeserialized(this.WorkflowDefinition, this);
446
this.
executor
.Open(this.SynchronizationContext);
447
this.controller = new WorkflowInstanceControl(this, this.
executor
);
535
if (this.
executor
.State != ActivityInstanceState.Executing)
571
if (this.
executor
.IsRunning)
688
this.
executor
.Terminate(reason);
699
ActivityInstanceState completionState = this.
executor
.State;
703
Fx.Assert(this.
executor
.TerminationException != null, "must have a termination exception if we're faulted");
704
this.controller.Track(new WorkflowInstanceTerminatedRecord(this.Id, this.WorkflowDefinition.DisplayName, this.
executor
.TerminationException.Message, this.DefinitionIdentity));
748
this.
executor
.MarkSchedulerRunning();
758
this.
executor
.CancelRootActivity();
768
return this.
executor
.TryResumeHostBookmark(bookmark, value);
778
return this.
executor
.TryResumeBookmark(bookmark, value, scope);
784
if (this.isAborted || (this.
executor
!= null && this.
executor
.IsAbortPending))
792
if (!this.
executor
.IsIdle)
937
IDictionary<string, LocationInfo> mappedLocations = this.instance.
executor
.GatherMappableVariables();