2 instantiations of WorkflowExecutor
System.Workflow.Runtime (2)
WorkflowRuntime.cs (1)
491
executor = new
WorkflowExecutor
(key);
WorkflowStateRollbackService.cs (1)
96
WorkflowExecutor newWorkflowExecutor = new
WorkflowExecutor
(Guid.Empty); // use a dummy guid while swapping executors
247 references to WorkflowExecutor
System.Workflow.Runtime (247)
AmbientEnvironment.cs (3)
122
return (IWorkBatch)currentActivity.GetValue(
WorkflowExecutor
.TransientBatchProperty);
134
return ((Guid)ContextActivityUtils.RootContextActivity(currentActivity).GetValue(
WorkflowExecutor
.WorkflowInstanceIdProperty));
153
TransactionalProperties transactionalProperties = (TransactionalProperties)currentActivity.GetValue(
WorkflowExecutor
.TransactionalPropertiesProperty);
ContextActivityUtils.cs (1)
55
workflowExecutor = (IWorkflowCoreRuntime)rootActivity.GetValue(
WorkflowExecutor
.WorkflowExecutorProperty);
CreationContext.cs (2)
36
internal
WorkflowExecutor
InvokerExecutor;
42
internal CreationContext(Type type,
WorkflowExecutor
invokerExec, string invokeActivityID, Dictionary<string, object> args)
DebugEngine\DebugController.cs (13)
417
WorkflowExecutor
executor = instance.GetWorkflowResourceUNSAFE();
572
WorkflowExecutor
executor = instance.GetWorkflowResourceUNSAFE();
651
private void OnInstanceEvent(object sender,
WorkflowExecutor
.WorkflowExecutionEventArgs e)
656
InstanceCompleted(sender, new WorkflowEventArgs(((
WorkflowExecutor
)sender).WorkflowInstance));
659
InstanceTerminated(sender, new WorkflowEventArgs(((
WorkflowExecutor
)sender).WorkflowInstance));
662
InstanceUnloaded(sender, new WorkflowEventArgs(((
WorkflowExecutor
)sender).WorkflowInstance));
674
OnActivityStatusChanged(sender, (
WorkflowExecutor
.ActivityStatusChangeEventArgs)e);
677
OnActivityExecuting(sender, (
WorkflowExecutor
.ActivityExecutingEventArgs)e);
690
LoadExistingInstance(((
WorkflowExecutor
)sender).WorkflowInstance, true);
692
LoadExistingInstance(((
WorkflowExecutor
)sender).WorkflowInstance, false);
763
private void OnActivityExecuting(object sender,
WorkflowExecutor
.ActivityExecutingEventArgs eventArgs)
788
private void OnActivityStatusChanged(object sender,
WorkflowExecutor
.ActivityStatusChangeEventArgs eventArgs)
886
WorkflowExecutor
executor = instance.GetWorkflowResourceUNSAFE();
Hosting\DefaultWorkflowSchedulerService.cs (1)
338
if (
WorkflowExecutor
.IsIrrecoverableException(e))
Hosting\WorkflowPersistenceService.cs (3)
99
return (bool)rootActivity.GetValue(
WorkflowExecutor
.IsBlockedProperty);
103
return (string)rootActivity.GetValue(
WorkflowExecutor
.SuspendOrTerminateInfoProperty);
107
return (WorkflowStatus)rootActivity.GetValue(
WorkflowExecutor
.WorkflowStatusProperty);
Lock.cs (4)
257
private
WorkflowExecutor
workflowExec;
259
internal SchedulerLockGuard(InstanceLock il,
WorkflowExecutor
w)
265
private static void FireEvents(List<SchedulerLockGuardInfo> eventList,
WorkflowExecutor
workflowExec)
302
internal static void Exit(InstanceLock il,
WorkflowExecutor
w)
PerformanceCounterManager.cs (11)
274
private void Notify(PerformanceCounterAction action,
WorkflowExecutor
executor)
313
private void NotifyCounter(PerformanceCounterAction action, PerformanceCounterStatement statement,
WorkflowExecutor
executor)
342
if (!typeof(
WorkflowExecutor
).IsInstanceOfType(sender))
345
WorkflowExecutor
exec = (
WorkflowExecutor
)sender;
347
exec.WorkflowExecutionEvent += new EventHandler<
WorkflowExecutor
.WorkflowExecutionEventArgs>(WorkflowExecutionEvent);
350
private void WorkflowExecutionEvent(object sender,
WorkflowExecutor
.WorkflowExecutionEventArgs e)
355
if (!typeof(
WorkflowExecutor
).IsInstanceOfType(sender))
356
throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.InvalidArgumentType, "sender", typeof(
WorkflowExecutor
).ToString()));
358
WorkflowExecutor
exec = (
WorkflowExecutor
)sender;
RTTrackingProfile.cs (1)
245
internal bool TryTrackUserEvent(Activity activity, string keyName, object argument,
WorkflowExecutor
exec, UserTrackingRecord record)
Scheduler.cs (6)
26
WorkflowExecutor
rootWorkflowExecutor;
39
public Scheduler(
WorkflowExecutor
rootExec, bool canRun)
73
protected
WorkflowExecutor
RootWorkflowExecutor
158
transactionalProperties = (TransactionalProperties)atomicActivity.GetValue(
WorkflowExecutor
.TransactionalPropertiesProperty);
162
if (!
WorkflowExecutor
.CheckAndProcessTransactionAborted(transactionalProperties))
190
if (
WorkflowExecutor
.IsIrrecoverableException(e))
System\Activities\Statements\Interop.cs (5)
364
activityInstance.SetValue(
WorkflowExecutor
.WorkflowInstanceIdProperty, context.WorkflowInstanceId);
397
if (
WorkflowExecutor
.IsIrrecoverableException(exception) || !this.persistOnClose.Get(context))
432
if (
WorkflowExecutor
.IsIrrecoverableException(exception) || !this.persistOnClose.Get(context))
538
if (
WorkflowExecutor
.IsIrrecoverableException(exception) || !this.persistOnClose.Get(context))
836
if (
WorkflowExecutor
.IsIrrecoverableException(exception) || !this.persistOnClose.Get(context))
System\Activities\Statements\InteropEnvironment.cs (1)
202
if (
WorkflowExecutor
.IsIrrecoverableException(this.uncaughtException))
System\Activities\Statements\InteropExecutor.cs (9)
239
TransactionalProperties transactionalProperties = (TransactionalProperties)this.currentAtomicActivity.GetValue(
WorkflowExecutor
.TransactionalPropertiesProperty);
257
TransactionalProperties transactionalProperties = (TransactionalProperties)this.currentAtomicActivity.GetValue(
WorkflowExecutor
.TransactionalPropertiesProperty);
461
this.rootActivity.SetValue(
WorkflowExecutor
.WorkflowExecutorProperty, this);
571
atomicActivity.SetValue(
WorkflowExecutor
.TransactionalPropertiesProperty, transactionProperties);
651
transactionalProperties = (TransactionalProperties)activity.GetValue(
WorkflowExecutor
.TransactionalPropertiesProperty);
777
TransactionalProperties transactionalProperties = (TransactionalProperties)atomicActivity.GetValue(
WorkflowExecutor
.TransactionalPropertiesProperty);
797
TransactionalProperties transactionalProperties = (TransactionalProperties)atomicActivity.GetValue(
WorkflowExecutor
.TransactionalPropertiesProperty);
983
transactionalProperties = (TransactionalProperties)atomicActivity.GetValue(
WorkflowExecutor
.TransactionalPropertiesProperty);
998
if (
WorkflowExecutor
.IsIrrecoverableException(e))
Tracking.cs (61)
103
if (!typeof(
WorkflowExecutor
).IsInstanceOfType(sender))
106
WorkflowExecutor
exec = (
WorkflowExecutor
)sender;
109
exec.WorkflowExecutionEvent += new EventHandler<
WorkflowExecutor
.WorkflowExecutionEventArgs>(WorkflowExecutionEvent);
111
TrackingListenerBroker listenerBroker = (TrackingListenerBroker)exec.RootActivity.GetValue(
WorkflowExecutor
.TrackingListenerBrokerProperty);
177
exec.RootActivity.SetValue(
WorkflowExecutor
.TrackingListenerBrokerProperty, listener.Broker);
184
exec.RootActivity.SetValue(
WorkflowExecutor
.TrackingListenerBrokerProperty, new TrackingListenerBroker());
189
exec.WorkflowExecutionEvent += new EventHandler<
WorkflowExecutor
.WorkflowExecutionEventArgs>(listener.WorkflowExecutionEvent);
194
void WorkflowExecutionEvent(object sender,
WorkflowExecutor
.WorkflowExecutionEventArgs e)
204
WorkflowExecutor
exec = (
WorkflowExecutor
)sender;
250
internal TrackingListener GetTrackingListener(Activity sked,
WorkflowExecutor
skedExec)
265
internal TrackingListener GetTrackingListener(Activity sked,
WorkflowExecutor
skedExec, TrackingListenerBroker broker)
297
internal void ReloadProfiles(
WorkflowExecutor
exec)
330
internal void ReloadProfiles(
WorkflowExecutor
exec, Guid instanceId, ref TrackingListenerBroker broker, ref List<TrackingChannelWrapper> channels)
427
private TrackingListener GetListener(Activity sked,
WorkflowExecutor
skedExec, TrackingListenerBroker broker)
448
private List<TrackingChannelWrapper> GetChannels(Activity schedule,
WorkflowExecutor
exec, Guid instanceID, Type workflowType, ref TrackingListenerBroker broker)
466
Debug.Assert(exec is
WorkflowExecutor
, "Executor is not WorkflowExecutor");
468
TrackingListenerBroker trackingListenerBroker = (TrackingListenerBroker)exec.RootActivity.GetValue(
WorkflowExecutor
.TrackingListenerBrokerProperty);
575
internal TrackingListener(TrackingListenerFactory factory, Activity sked,
WorkflowExecutor
exec, List<TrackingChannelWrapper> channels, TrackingListenerBroker broker, bool load)
598
internal void ReloadProfiles(
WorkflowExecutor
exec, Guid instanceId)
608
internal void ActivityStatusChange(object sender,
WorkflowExecutor
.ActivityStatusChangeEventArgs e)
615
if (!typeof(
WorkflowExecutor
).IsInstanceOfType(sender))
621
WorkflowExecutor
exec = (
WorkflowExecutor
)sender;
658
internal void UserTrackPoint(object sender,
WorkflowExecutor
.UserTrackPointEventArgs e)
660
if (!typeof(
WorkflowExecutor
).IsInstanceOfType(sender))
663
WorkflowExecutor
exec = (
WorkflowExecutor
)sender;
681
internal void WorkflowExecutionEvent(object sender,
WorkflowExecutor
.WorkflowExecutionEventArgs e)
686
WorkflowExecutor
exec = sender as
WorkflowExecutor
;
735
UserTrackPoint(exec, (
WorkflowExecutor
.UserTrackPointEventArgs)e);
738
ActivityStatusChange(exec, (
WorkflowExecutor
.ActivityStatusChangeEventArgs)e);
741
DynamicUpdateBegin(exec, (
WorkflowExecutor
.DynamicUpdateEventArgs)e);
744
DynamicUpdateRollback(exec, (
WorkflowExecutor
.DynamicUpdateEventArgs)e);
747
DynamicUpdateCommit(exec, (
WorkflowExecutor
.DynamicUpdateEventArgs)e);
754
internal void DynamicUpdateBegin(object sender,
WorkflowExecutor
.DynamicUpdateEventArgs e)
759
if (!typeof(
WorkflowExecutor
).IsInstanceOfType(sender))
762
WorkflowExecutor
exec = (
WorkflowExecutor
)sender;
780
internal void DynamicUpdateRollback(object sender,
WorkflowExecutor
.DynamicUpdateEventArgs e)
785
if (!typeof(
WorkflowExecutor
).IsInstanceOfType(sender))
788
WorkflowExecutor
exec = (
WorkflowExecutor
)sender;
796
internal void DynamicUpdateCommit(object sender,
WorkflowExecutor
.DynamicUpdateEventArgs e)
801
if (!typeof(
WorkflowExecutor
).IsInstanceOfType(sender))
804
WorkflowExecutor
exec = (
WorkflowExecutor
)sender;
827
private void NotifyChannels(TrackingWorkflowEvent evt,
WorkflowExecutor
.WorkflowExecutionEventArgs e,
WorkflowExecutor
exec)
838
args = new TrackingWorkflowSuspendedEventArgs(((
WorkflowExecutor
.WorkflowExecutionSuspendingEventArgs)e).Error);
841
WorkflowExecutor
.WorkflowExecutionTerminatingEventArgs wtea = (
WorkflowExecutor
.WorkflowExecutionTerminatingEventArgs)e;
848
WorkflowExecutor
.WorkflowExecutionExceptionEventArgs weea = (
WorkflowExecutor
.WorkflowExecutionExceptionEventArgs)e;
864
private void GetContext(Activity activity,
WorkflowExecutor
exec, out Guid contextGuid, out Guid parentContextGuid)
880
private void MakeProfilesPrivate(
WorkflowExecutor
exec)
893
private bool SubscriptionRequired(Activity activity,
WorkflowExecutor
exec)
1615
internal RTTrackingProfile GetTrackingProfile(
WorkflowExecutor
skedExec)
1632
internal void MakeProfilePrivate(
WorkflowExecutor
exec)
WorkBatch.cs (2)
212
if (
WorkflowExecutor
.IsIrrecoverableException(e))
269
if (
WorkflowExecutor
.IsIrrecoverableException(e))
WorkflowExecutor.cs (42)
28
internal readonly static DependencyProperty WorkflowExecutorProperty = DependencyProperty.RegisterAttached("WorkflowExecutor", typeof(IWorkflowCoreRuntime), typeof(
WorkflowExecutor
), new PropertyMetadata(DependencyPropertyOptions.NonSerialized));
32
internal readonly static DependencyProperty TransientBatchProperty = DependencyProperty.RegisterAttached("TransientBatch", typeof(IWorkBatch), typeof(
WorkflowExecutor
), new PropertyMetadata(null, DependencyPropertyOptions.NonSerialized, new GetValueOverride(GetTransientBatch), null));
33
internal readonly static DependencyProperty TransactionalPropertiesProperty = DependencyProperty.RegisterAttached("TransactionalProperties", typeof(TransactionalProperties), typeof(
WorkflowExecutor
), new PropertyMetadata(DependencyPropertyOptions.NonSerialized));
34
internal readonly static DependencyProperty WorkflowInstanceIdProperty = DependencyProperty.RegisterAttached("WorkflowInstanceId", typeof(Guid), typeof(
WorkflowExecutor
), new PropertyMetadata(Guid.NewGuid()));
35
internal readonly static DependencyProperty IsBlockedProperty = DependencyProperty.RegisterAttached("IsBlocked", typeof(bool), typeof(
WorkflowExecutor
), new PropertyMetadata(false));
36
internal readonly static DependencyProperty WorkflowStatusProperty = DependencyProperty.RegisterAttached("WorkflowStatus", typeof(WorkflowStatus), typeof(
WorkflowExecutor
), new PropertyMetadata(WorkflowStatus.Created));
37
internal readonly static DependencyProperty SuspendOrTerminateInfoProperty = DependencyProperty.RegisterAttached("SuspendOrTerminateInfo", typeof(string), typeof(
WorkflowExecutor
));
40
private static DependencyProperty ContextIdProperty = DependencyProperty.RegisterAttached("ContextId", typeof(int), typeof(
WorkflowExecutor
), new PropertyMetadata(new Int32()));
41
private static DependencyProperty TrackingCallingStateProperty = DependencyProperty.RegisterAttached("TrackingCallingState", typeof(TrackingCallingState), typeof(
WorkflowExecutor
));
42
internal static DependencyProperty TrackingListenerBrokerProperty = DependencyProperty.RegisterAttached("TrackingListenerBroker", typeof(TrackingListenerBroker), typeof(
WorkflowExecutor
));
43
private static DependencyProperty IsSuspensionRequestedProperty = DependencyProperty.RegisterAttached("IsSuspensionRequested", typeof(bool), typeof(
WorkflowExecutor
), new PropertyMetadata(false));
44
private static DependencyProperty IsIdleProperty = DependencyProperty.RegisterAttached("IsIdle", typeof(bool), typeof(
WorkflowExecutor
), new PropertyMetadata(false));
140
internal void Initialize(Activity rootActivity,
WorkflowExecutor
invokerExec, string invokeActivityID, Guid instanceId, IDictionary<string, object> namedArguments, WorkflowInstance workflowInstance)
146
this.rootActivity.SetValue(
WorkflowExecutor
.ContextIdProperty, 0);
151
this.rootActivity.SetValue(
WorkflowExecutor
.IsIdleProperty, true);
155
this.rootActivity.SetValue(
WorkflowExecutor
.WorkflowExecutorProperty, this);
170
TrackingCallingState parentTCS = (TrackingCallingState)invokerExec.rootActivity.GetValue(
WorkflowExecutor
.TrackingCallingStateProperty);
190
this.rootActivity.SetValue(
WorkflowExecutor
.TrackingCallingStateProperty, trackingCallingState);
282
internal void Initialize(Activity rootActivity, WorkflowRuntime runtime,
WorkflowExecutor
previousWorkflowExecutor)
308
this.rootActivity.SetValue(
WorkflowExecutor
.WorkflowExecutorProperty, this);
394
return (TrackingCallingState)this.rootActivity.GetValue(
WorkflowExecutor
.TrackingCallingStateProperty);
433
this.RootActivity.SetValue(
WorkflowExecutor
.IsIdleProperty, value);
618
int conextId = (int)this.rootActivity.GetValue(
WorkflowExecutor
.ContextIdProperty) + 1;
619
this.rootActivity.SetValue(
WorkflowExecutor
.ContextIdProperty, conextId);
742
if (
WorkflowExecutor
.IsIrrecoverableException(e))
750
this.TerminateOnIdle(
WorkflowExecutor
.GetNestedExceptionMessage(e));
851
if ((bool)this.rootActivity.GetValue(
WorkflowExecutor
.IsSuspensionRequestedProperty))
854
this.rootActivity.SetValue(
WorkflowExecutor
.IsSuspensionRequestedProperty, false);
961
if (
WorkflowExecutor
.IsIrrecoverableException(e))
976
if (this.TerminateOnIdle(
WorkflowExecutor
.GetNestedExceptionMessage(e)))
1125
if (
WorkflowExecutor
.IsIrrecoverableException(e))
1307
IWorkBatch batch = (IWorkBatch)this.rootActivity.GetValue(
WorkflowExecutor
.TransientBatchProperty);
1840
if (
WorkflowExecutor
.IsIrrecoverableException(e))
2886
this.TerminateOnIdle(
WorkflowExecutor
.GetNestedExceptionMessage(e));
3125
private
WorkflowExecutor
workflowExecutor = null;
3127
internal ResetCurrentActivity(
WorkflowExecutor
workflowExecutor, Activity oldCurrentActivity)
3248
internal event EventHandler<
WorkflowExecutor
.WorkflowExecutionEventArgs> WorkflowExecutionEvent
3642
public
WorkflowExecutor
executor;
3644
public ScheduleInfo(
WorkflowExecutor
executor, bool suppress)
3655
public ScheduleWork(
WorkflowExecutor
executor)
3661
public ScheduleWork(
WorkflowExecutor
executor, bool suppress)
3681
static public
WorkflowExecutor
Executor
WorkflowInstance.cs (19)
28
private
WorkflowExecutor
_deadWorkflow;
57
internal
WorkflowExecutor
DeadWorkflow
74
WorkflowExecutor
executor = _runtime.Load(this);
94
WorkflowExecutor
executor = _runtime.Load(this);
114
WorkflowExecutor
executor = _runtime.Load(this);
145
WorkflowExecutor
executor = _runtime.Load(this);
171
WorkflowExecutor
executor = _runtime.Load(this);
212
WorkflowExecutor
executor = _runtime.Load(this);
249
WorkflowExecutor
executor = _runtime.Load(this);
278
WorkflowExecutor
executor = null;
310
WorkflowExecutor
executor = _runtime.Load(this);
334
WorkflowExecutor
executor = _runtime.Load(this);
361
WorkflowExecutor
executor = _runtime.Load(this);
385
WorkflowExecutor
executor = _runtime.Load(this);
409
WorkflowExecutor
executor = _runtime.Load(this);
430
WorkflowExecutor
executor = _runtime.Load(this);
448
internal
WorkflowExecutor
GetWorkflowResourceUNSAFE()
452
WorkflowExecutor
executor = _runtime.Load(this);
488
WorkflowExecutor
executor = _runtime.Load(this);
WorkflowQueuingService.cs (2)
686
TransactionalProperties transactionalProperties = rootWorkflowExecutor.CurrentAtomicActivity.GetValue(
WorkflowExecutor
.TransactionalPropertiesProperty) as TransactionalProperties;
711
TransactionalProperties transactionalProperties = this.rootWorkflowExecutor.CurrentAtomicActivity.GetValue(
WorkflowExecutor
.TransactionalPropertiesProperty) as TransactionalProperties;
WorkflowRuntime.cs (56)
103
private FanOutOnKeyDictionary<Guid,
WorkflowExecutor
> workflowExecutors;
185
workflowExecutors = new FanOutOnKeyDictionary<Guid,
WorkflowExecutor
>((Environment.ProcessorCount * 4) - 1);
260
WorkflowExecutor
executor = Load(instanceId, null, null);
268
foreach (
WorkflowExecutor
executor in GetWorkflowExecutors())
416
WorkflowExecutor
executor = GetWorkflowExecutor(instanceId, context);
464
internal
WorkflowExecutor
Load(WorkflowInstance instance)
469
internal
WorkflowExecutor
Load(Guid key, CreationContext context, WorkflowInstance workflowInstance)
471
WorkflowExecutor
executor;
472
Dictionary<Guid,
WorkflowExecutor
> executors = workflowExecutors[key];
507
WorkflowExecutor
currentRes;
524
internal void ReplaceWorkflowExecutor(Guid instanceId,
WorkflowExecutor
oldWorkflowExecutor,
WorkflowExecutor
newWorkflowExecutor)
526
Dictionary<Guid,
WorkflowExecutor
> executors = workflowExecutors[instanceId];
536
private Activity InitializeExecutor(Guid instanceId, CreationContext context,
WorkflowExecutor
executor, WorkflowInstance workflowInstance)
614
private void RegisterExecutor(bool isActivation,
WorkflowExecutor
executor)
631
internal void OnIdle(
WorkflowExecutor
executor)
652
private void _unRegister(
WorkflowExecutor
executor)
663
private
WorkflowExecutor
GetWorkflowExecutor(Guid instanceId, CreationContext context)
669
WorkflowExecutor
executor = this.Load(instanceId, context, null);
689
internal void OnScheduleCompleted(
WorkflowExecutor
schedule, WorkflowCompletedEventArgs args)
710
internal void OnScheduleSuspended(
WorkflowExecutor
schedule, WorkflowSuspendedEventArgs args)
725
internal void OnScheduleTerminated(
WorkflowExecutor
schedule, WorkflowTerminatedEventArgs args)
744
internal void OnScheduleLoaded(
WorkflowExecutor
schedule)
751
internal void OnScheduleAborted(
WorkflowExecutor
schedule)
757
internal void OnScheduleUnloaded(
WorkflowExecutor
schedule)
764
internal void OnScheduleResumed(
WorkflowExecutor
schedule)
770
internal void OnScheduleDynamicallyChanged(
WorkflowExecutor
schedule)
776
internal void OnSchedulePersisted(
WorkflowExecutor
schedule)
783
private void _OnServiceEvent(
WorkflowExecutor
sched, bool unregister, EventHandler<WorkflowEventArgs> handler)
1183
void DynamicUpdateCommit(object sender,
WorkflowExecutor
.DynamicUpdateEventArgs e)
1188
if (!typeof(
WorkflowExecutor
).IsInstanceOfType(sender))
1189
throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.InvalidArgumentType, "sender", typeof(
WorkflowExecutor
).ToString()));
1191
WorkflowExecutor
exec = (
WorkflowExecutor
)sender;
1196
internal void WorkflowExecutorCreated(
WorkflowExecutor
workflowExecutor, bool loaded)
1204
workflowExecutor.WorkflowExecutionEvent += new EventHandler<
WorkflowExecutor
.WorkflowExecutionEventArgs>(WorkflowExecutionEvent);
1207
void WorkflowExecutionEvent(object sender,
WorkflowExecutor
.WorkflowExecutionEventArgs e)
1212
if (!typeof(
WorkflowExecutor
).IsInstanceOfType(sender))
1215
WorkflowExecutor
exec = (
WorkflowExecutor
)sender;
1240
WorkflowExecutor
.WorkflowExecutionTerminatedEventArgs args = (
WorkflowExecutor
.WorkflowExecutionTerminatedEventArgs)e;
1252
WorkflowExecutor
.WorkflowExecutionSuspendedEventArgs sargs = (
WorkflowExecutor
.WorkflowExecutionSuspendedEventArgs)e;
1262
DynamicUpdateCommit(exec, (
WorkflowExecutor
.DynamicUpdateEventArgs)e);
1269
private WorkflowCompletedEventArgs CreateCompletedEventArgs(
WorkflowExecutor
exec)
1309
IList<
WorkflowExecutor
> executors = GetWorkflowExecutors();
1312
foreach (
WorkflowExecutor
executor in executors)
1590
private IList<
WorkflowExecutor
> GetWorkflowExecutors()
1596
List<
WorkflowExecutor
> executorsList = new List<
WorkflowExecutor
>();
1597
foreach (Dictionary<Guid,
WorkflowExecutor
> executors in workflowExecutors)
1601
foreach (
WorkflowExecutor
executor in executors.Values)
1611
private bool TryRemoveWorkflowExecutor(Guid instanceId,
WorkflowExecutor
executor)
1613
Dictionary<Guid,
WorkflowExecutor
> executors = workflowExecutors[instanceId];
1616
WorkflowExecutor
currentRes;
WorkflowStateRollbackService.cs (5)
16
WorkflowExecutor
workflowExecutor;
33
public WorkflowStateRollbackService(
WorkflowExecutor
workflowExecutor)
93
clonedRootActivity.SetValue(
WorkflowExecutor
.TrackingListenerBrokerProperty, workflowExecutor.RootActivity.GetValue(
WorkflowExecutor
.TrackingListenerBrokerProperty));
96
WorkflowExecutor
newWorkflowExecutor = new WorkflowExecutor(Guid.Empty); // use a dummy guid while swapping executors