14 references to CurrentActivity
System.Workflow.ComponentModel (14)
AuthoringOM\Activity.cs (2)
438
activityExecutorDelegate.InvokeDelegate(this.WorkflowCoreRuntime.
CurrentActivity
.ContextActivity, e, false);
460
activityExecutorDelegate.InvokeDelegate(this.WorkflowCoreRuntime.
CurrentActivity
.ContextActivity, e, false);
AuthoringOM\ActivityExecutionContext.cs (6)
223
this.currentActivity.WorkflowCoreRuntime.
CurrentActivity
.ExecutionStatus == ActivityExecutionStatus.Initialized ||
224
this.currentActivity.WorkflowCoreRuntime.
CurrentActivity
.ExecutionStatus == ActivityExecutionStatus.Closed
257
this.currentActivity.WorkflowCoreRuntime.
CurrentActivity
.ExecutionStatus == ActivityExecutionStatus.Initialized ||
258
this.currentActivity.WorkflowCoreRuntime.
CurrentActivity
.ExecutionStatus == ActivityExecutionStatus.Closed
638
if (activity == this.currentActivity.WorkflowCoreRuntime.
CurrentActivity
&& this.allowSignalsOnCurrentActivity)
641
if (activity.Enabled && activity.Parent == this.currentActivity.WorkflowCoreRuntime.
CurrentActivity
&& (allowContextVariance || activity.Equals(this.Activity.GetActivityByName(activity.QualifiedName, true))))
AuthoringOM\ActivityExecutorDelegateInfo.cs (6)
51
this.contextId = contextActivity.WorkflowCoreRuntime.
CurrentActivity
.ContextActivity.ContextId;
55
this.activityQualifiedName = (target ?? contextActivity.WorkflowCoreRuntime.
CurrentActivity
).QualifiedName;
70
this.contextId = contextActivity.WorkflowCoreRuntime.
CurrentActivity
.ContextActivity.ContextId;
74
this.activityQualifiedName = (target ?? contextActivity.WorkflowCoreRuntime.
CurrentActivity
).QualifiedName;
180
if (!ActivityExecutionContext.IsInAtomicTransaction(currentContextActivity.WorkflowCoreRuntime.
CurrentActivity
))
197
ActivityExecutionContext.IsInAtomicTransaction(currentContextActivity.WorkflowCoreRuntime.
CurrentActivity
))