1 instantiation of WorkflowInstance
System.Workflow.Runtime (1)
WorkflowRuntime.cs (1)
493
workflowInstance = new
WorkflowInstance
(key, this);
47 references to WorkflowInstance
System.Workflow.Runtime (35)
DebugEngine\DebugController.cs (4)
415
foreach (
WorkflowInstance
instance in this.serviceContainer.GetLoadedWorkflows())
570
foreach (
WorkflowInstance
instance in this.serviceContainer.GetLoadedWorkflows())
884
private void LoadExistingInstance(
WorkflowInstance
instance, bool attaching)
988
private void UnloadExistingInstance(
WorkflowInstance
instance)
Hosting\SqlWorkflowPersistenceService.cs (2)
895
WorkflowInstance
instance = Runtime.GetWorkflow(instanceId);
915
WorkflowInstance
instance = Runtime.GetWorkflow(instanceId);
WorkflowEventArgs.cs (7)
24
private
WorkflowInstance
_instance;
26
internal WorkflowEventArgs(
WorkflowInstance
instance)
31
public
WorkflowInstance
WorkflowInstance
47
internal WorkflowCompletedEventArgs(
WorkflowInstance
instance, Activity workflowDefinition)
94
internal WorkflowSuspendedEventArgs(
WorkflowInstance
instance, String error)
114
internal WorkflowTerminatedEventArgs(
WorkflowInstance
instance, String error)
119
internal WorkflowTerminatedEventArgs(
WorkflowInstance
instance, Exception e)
WorkflowExecutor.cs (5)
72
private
WorkflowInstance
_workflowInstance;
140
internal void Initialize(Activity rootActivity, WorkflowExecutor invokerExec, string invokeActivityID, Guid instanceId, IDictionary<string, object> namedArguments,
WorkflowInstance
workflowInstance)
238
internal void Reload(Activity rootActivity,
WorkflowInstance
workflowInstance)
549
internal
WorkflowInstance
WorkflowInstance
2837
WorkflowInstance
instance = this.WorkflowRuntime.InternalCreateWorkflow(new CreationContext(workflowType, this, this.CurrentActivity.QualifiedName, namedArgumentValues), Guid.NewGuid());
WorkflowInstance.cs (2)
470
WorkflowInstance
instance = obj as
WorkflowInstance
;
WorkflowRuntime.cs (15)
252
public
WorkflowInstance
GetWorkflow(Guid instanceId)
264
public ReadOnlyCollection<
WorkflowInstance
> GetLoadedWorkflows()
267
List<
WorkflowInstance
> lSchedules = new List<
WorkflowInstance
>();
356
public
WorkflowInstance
CreateWorkflow(Type workflowType)
367
public
WorkflowInstance
CreateWorkflow(Type workflowType, Dictionary<string, object> namedArgumentValues)
372
public
WorkflowInstance
CreateWorkflow(XmlReader workflowDefinitionReader)
381
public
WorkflowInstance
CreateWorkflow(XmlReader workflowDefinitionReader, XmlReader rulesReader, Dictionary<string, object> namedArgumentValues)
386
public
WorkflowInstance
CreateWorkflow(Type workflowType, Dictionary<string, object> namedArgumentValues, Guid instanceId)
397
public
WorkflowInstance
CreateWorkflow(XmlReader workflowDefinitionReader, XmlReader rulesReader, Dictionary<string, object> namedArgumentValues, Guid instanceId)
407
internal
WorkflowInstance
InternalCreateWorkflow(CreationContext context, Guid instanceId)
464
internal WorkflowExecutor Load(
WorkflowInstance
instance)
469
internal WorkflowExecutor Load(Guid key, CreationContext context,
WorkflowInstance
workflowInstance)
536
private Activity InitializeExecutor(Guid instanceId, CreationContext context, WorkflowExecutor executor,
WorkflowInstance
workflowInstance)
638
WorkflowInstance
scheduleInstance = executor.WorkflowInstance;
System.WorkflowServices (12)
System\ServiceModel\Dispatcher\WorkflowDurableInstance.cs (2)
18
WorkflowInstance
workflowInstance = null;
46
public
WorkflowInstance
GetWorkflowInstance(bool canCreateInstance)
System\ServiceModel\Dispatcher\WorkflowOperationAsyncResult.cs (4)
65
WorkflowInstance
workflowInstance = workflowDurableInstance.GetWorkflowInstance
329
WorkflowInstance
workflowInstance;
334
WorkflowInstance
workflowInstance,
366
public
WorkflowInstance
WorkflowInstance
System\Workflow\Runtime\CompiledWorkflowDefinitionContext.cs (2)
49
public override
WorkflowInstance
CreateWorkflow()
54
public override
WorkflowInstance
CreateWorkflow(Guid instanceId)
System\Workflow\Runtime\StreamedWorkflowDefinitionContext.cs (2)
150
public override
WorkflowInstance
CreateWorkflow()
155
public override
WorkflowInstance
CreateWorkflow(Guid instanceId)
System\Workflow\Runtime\WorkflowDefinitionContext.cs (2)
36
public abstract
WorkflowInstance
CreateWorkflow();
37
public abstract
WorkflowInstance
CreateWorkflow(Guid instanceId);