26 references to ContextActivityUtils
System.Workflow.Runtime (26)
AmbientEnvironment.cs (2)
134
return ((Guid)
ContextActivityUtils
.RootContextActivity(currentActivity).GetValue(WorkflowExecutor.WorkflowInstanceIdProperty));
147
workflowExecutor =
ContextActivityUtils
.RetrieveWorkflowExecutor(currentActivity);
CorrelationToken.cs (6)
124
subscriber.InvokeDelegate(
ContextActivityUtils
.ContextActivity(activity), eventArgs, true, false);
144
subscriber.InvokeDelegate(
ContextActivityUtils
.ContextActivity(activity), eventArgs, true, false);
160
ContextActivityUtils
.ContextActivity(activity), true);
181
ContextActivityUtils
.ContextActivity(activity), true);
273
Activity contextActivity =
ContextActivityUtils
.ContextActivity(activity);
283
contextActivity =
ContextActivityUtils
.ParentContextActivity(contextActivity);
DebugEngine\DebugController.cs (6)
947
Activity contextActivity =
ContextActivityUtils
.ContextActivity(activity);
948
int context =
ContextActivityUtils
.ContextId(contextActivity);
1027
Activity contextActivity =
ContextActivityUtils
.ContextActivity(activity);
1028
int context =
ContextActivityUtils
.ContextId(contextActivity);
1041
Activity contextActivity =
ContextActivityUtils
.ContextActivity(activity);
1042
return
ContextActivityUtils
.ContextId(contextActivity);
Tracking.cs (1)
424
return ((ActivityExecutionContextInfo)
ContextActivityUtils
.ContextActivity(activity).GetValue(Activity.ActivityExecutionContextInfoProperty)).ContextGuid;
Tracking\TrackingExtract.cs (1)
83
Activity root =
ContextActivityUtils
.RootContextActivity(activity);
WorkflowExecutor.cs (8)
185
trackingCallingState.CallerContextGuid = ((ActivityExecutionContextInfo)
ContextActivityUtils
.ContextActivity(invokerExec.CurrentActivity).GetValue(Activity.ActivityExecutionContextInfoProperty)).ContextGuid;
189
trackingCallingState.CallerParentContextGuid = ((ActivityExecutionContextInfo)
ContextActivityUtils
.ContextActivity(invokerExec.CurrentActivity.Parent).GetValue(Activity.ActivityExecutionContextInfoProperty)).ContextGuid;
1389
int contextId =
ContextActivityUtils
.ContextId(dynamicActivity);
1401
int contextId =
ContextActivityUtils
.ContextId(dynamicActivity);
2575
Guid contextGuid = ((ActivityExecutionContextInfo)
ContextActivityUtils
.ContextActivity(currentActivity).GetValue(Activity.ActivityExecutionContextInfoProperty)).ContextGuid;
2578
parentContextGuid = ((ActivityExecutionContextInfo)
ContextActivityUtils
.ContextActivity(currentActivity.Parent).GetValue(Activity.ActivityExecutionContextInfoProperty)).ContextGuid;
3091
queuingService.CallingActivity =
ContextActivityUtils
.ContextActivity(activity);
3155
workflowExecutor =
ContextActivityUtils
.RetrieveWorkflowExecutor(currentActivity);
WorkflowStateRollbackService.cs (2)
61
this.activityContextId =
ContextActivityUtils
.ContextId(
ContextActivityUtils
.ContextActivity(currentActivity));