35 references to RootActivity
System.Activities (35)
System\Activities\Activity.cs (8)
342
if (this.
RootActivity
!= null && this.
RootActivity
.rootProperties != null)
344
return this.
RootActivity
.rootProperties.HostEnvironment;
415
else if (this.IsMetadataCached && this.
RootActivity
!= null && this.
RootActivity
.rootProperties != null)
417
return this.
RootActivity
.rootProperties.HasBeenAssociatedWithAnInstance;
928
parentEnvironment = this.
RootActivity
.rootProperties.HostEnvironment;
1042
this.rootActivity = parent.
RootActivity
;
System\Activities\Debugger\DebugController.cs (2)
43
if (!(activityInstance.Activity.
RootActivity
is Constraint)) // Don't debug an activity in a Constraint
52
if (!(activityInstance.Activity.
RootActivity
is Constraint)) // Don't debug an activity in a Constraint
System\Activities\Debugger\SourceLocationProvider.cs (8)
78
if (rootActivity.
RootActivity
!= rootActivity)
209
Activity workflowRoot = rootActivity.
RootActivity
?? rootActivity;
281
Activity realRoot1 = (rootActivity1.
RootActivity
!= null) ? rootActivity1.
RootActivity
: rootActivity1;
289
Activity realRoot2 = (rootActivity2.
RootActivity
!= null) ? rootActivity2.
RootActivity
: rootActivity2;
381
Activity realRoot = (rootActivity.
RootActivity
!= null) ? rootActivity.
RootActivity
: rootActivity;
System\Activities\DynamicUpdate\DynamicUpdateMapBuilder.cs (4)
433
Fx.Assert(activity.MemberOf == (this.builder.ForImplementation ? activity.
RootActivity
.ParentOf : activity.
RootActivity
.MemberOf), "Should have called other overload of BlockUpdate");
761
if (activity.
RootActivity
!= this.builder.OriginalWorkflowDefinition)
769
if (variables[i].Owner.
RootActivity
!= this.builder.OriginalWorkflowDefinition)
System\Activities\DynamicUpdate\DynamicUpdateMapQuery.cs (8)
25
Fx.Assert(updatedWorkflowDefinition == updatedWorkflowDefinition.
RootActivity
, "This parameter must be root of workflow");
26
Fx.Assert(originalWorkflowDefinition == originalWorkflowDefinition.
RootActivity
, "This parameter must be root of workflow");
216
if (activity.
RootActivity
== this.updatedWorkflowDefinition)
220
else if (activity.
RootActivity
== this.originalWorkflowDefinition)
235
if (activity.MemberOf.Owner != activity.
RootActivity
)
238
SR.QueryVariableIsPublic(activity.
RootActivity
),
239
SR.QueryActivityIsPublic(activity.
RootActivity
));
242
else if (activity.MemberOf != activity.
RootActivity
.MemberOf)
System\Activities\DynamicUpdate\UpdateMapMetadata.cs (2)
119
Activity parent = (childActivity.
RootActivity
== this.TargetActivity.
RootActivity
) ? this.TargetActivity : GetMatch(this.TargetActivity);
System\Activities\Expressions\CompiledExpressionInvoker.cs (1)
140
bool forImplementation = expression.MemberOf != expression.
RootActivity
.MemberOf;
System\Activities\Expressions\TextExpression.cs (1)
200
isImplementation = activity.MemberOf != activity.
RootActivity
.MemberOf;
System\Activities\XamlIntegration\CompiledLocation.cs (1)
45
this.forImplementation = currentActivityContext.Activity.MemberOf != currentActivityContext.Activity.
RootActivity
.MemberOf;