2 writes to CurrentActivity
System.Workflow.Runtime (2)
WorkflowExecutor.cs (2)
2860
this.
CurrentActivity
= activity;
3134
this.workflowExecutor.
CurrentActivity
= oldCurrentActivity;
12 references to CurrentActivity
System.Workflow.Runtime (12)
WorkflowExecutor.cs (12)
185
trackingCallingState.CallerContextGuid = ((ActivityExecutionContextInfo)ContextActivityUtils.ContextActivity(invokerExec.
CurrentActivity
).GetValue(Activity.ActivityExecutionContextInfoProperty)).ContextGuid;
186
if (null == invokerExec.
CurrentActivity
.Parent)
189
trackingCallingState.CallerParentContextGuid = ((ActivityExecutionContextInfo)ContextActivityUtils.ContextActivity(invokerExec.
CurrentActivity
.Parent).GetValue(Activity.ActivityExecutionContextInfoProperty)).ContextGuid;
989
Activity lastExecutingActivity = this.
CurrentActivity
;
1000
Activity currentActivity = (this.
CurrentActivity
== null) ? dynamicActivity : this.
CurrentActivity
;
1729
if ((this.rootActivity == this.
CurrentActivity
) && this.rootActivity.ExecutionStatus == ActivityExecutionStatus.Closed)
2821
return this.
CurrentActivity
;
2837
WorkflowInstance instance = this.WorkflowRuntime.InternalCreateWorkflow(new CreationContext(workflowType, this, this.
CurrentActivity
.QualifiedName, namedArgumentValues), Guid.NewGuid());
2853
this.AddItemToBeScheduledLater(this.
CurrentActivity
, item);
2859
Activity oldCurrentActivity = this.
CurrentActivity
;
3117
this.Track(this.
CurrentActivity
, key, args);