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