27 references to RootActivity
System.Workflow.ComponentModel (27)
AuthoringOM\Activity.cs (18)
726
handlers.Add(new ActivityExecutorDelegateInfo<ActivityExecutionStatusChangedEventArgs>(true, delegateValue, this.ContextActivity ?? this.
RootActivity
));
836
return (this.ContextActivity != this.
RootActivity
);
882
Activity rootActivity = this.
RootActivity
;
915
CompositeActivity parent = (withinThisActivityOnly ? this : this.
RootActivity
) as CompositeActivity;
934
resolvedActivity = Helpers.ParseActivity(this.
RootActivity
, activityQualifiedName);
1124
FillContextIdToActivityMap(outerActivity.
RootActivity
);
1569
this.OnClosed(this.
RootActivity
.WorkflowCoreRuntime);
1586
this.Uninitialize(this.
RootActivity
.WorkflowCoreRuntime);
1668
this.OnClosed(this.
RootActivity
.WorkflowCoreRuntime);
1679
this.Uninitialize(this.
RootActivity
.WorkflowCoreRuntime);
1756
compensatableChild.Uninitialize(activity.
RootActivity
.WorkflowCoreRuntime);
1762
activity.Uninitialize(activity.
RootActivity
.WorkflowCoreRuntime);
1836
int completedOrderId = (int)this.
RootActivity
.GetValue(Activity.CompletedOrderIdProperty);
1837
this.
RootActivity
.SetValue(Activity.CompletedOrderIdProperty, completedOrderId + 1);
1842
int completedOrderId = (int)this.
RootActivity
.GetValue(Activity.CompletedOrderIdProperty);
1843
this.
RootActivity
.SetValue(Activity.CompletedOrderIdProperty, completedOrderId - 1);
2062
if (this.
RootActivity
== null)
2193
Activity rootActivity = this.
RootActivity
;
AuthoringOM\ActivityExecutionContextCollection.cs (1)
208
childContext.Activity.ContextActivity.Uninitialize(this.ownerContext.Activity.
RootActivity
.WorkflowCoreRuntime);
AuthoringOM\ActivityExecutorDelegateInfo.cs (2)
60
this.activityQualifiedName = (target ?? contextActivity.
RootActivity
).QualifiedName;
79
this.activityQualifiedName = (target ?? contextActivity.
RootActivity
).QualifiedName;
AuthoringOM\ScheduleChanges.cs (5)
157
if (activity.
RootActivity
== null)
166
if (!CompareWorkflowDefinition((Activity)this.originalRootActivity, (Activity)activity.
RootActivity
.GetValue(Activity.WorkflowDefinitionProperty)))
414
addedActivity.OnActivityExecutionContextLoad(executionContext.Activity.
RootActivity
.WorkflowCoreRuntime);
427
removedActivityAction.OriginalRemovedActivity.Uninitialize(executionContext.Activity.
RootActivity
.WorkflowCoreRuntime);
430
removedActivityAction.OriginalRemovedActivity.OnActivityExecutionContextUnload(executionContext.Activity.
RootActivity
.WorkflowCoreRuntime);
AuthoringOM\Serializer\ActivitySurrogate.cs (1)
131
isDangling = ((Activity)Activity.ActivityRoots[0]).
RootActivity
!= activity;