36 references to Parent
System.Activities (36)
System\Activities\ActivityInstance.cs (5)
641
if (this.
Parent
!= null)
643
this.
Parent
.RemoveChild(this);
806
Fx.Assert(this.
Parent
== null, "Can only generate a map from a root instance.");
1736
Fx.Assert(!this.current.
Parent
.GetChildren().Contains(this.current), "We should always have removed the current one from the parent's list by now.");
1738
this.current = this.current.
Parent
;
System\Activities\ActivityUtilities.cs (1)
109
walker = walker.
Parent
;
System\Activities\Debugger\DebugController.cs (2)
70
while (instance.
Parent
!= null)
73
instance = instance.
Parent
;
System\Activities\Debugger\DebugManager.cs (2)
529
ActivityInstance instanceParent = instance.
Parent
;
533
instanceParent = instanceParent.
Parent
;
System\Activities\Expressions\CompiledExpressionInvoker.cs (1)
209
current = current.
Parent
;
System\Activities\NativeActivityContext.cs (3)
191
if (!object.ReferenceEquals(activity.
Parent
, this.CurrentInstance))
243
if (!object.ReferenceEquals(activityInstance.
Parent
, this.CurrentInstance))
2277
currentActivityInstance = currentActivityInstance.
Parent
;
System\Activities\Runtime\ActivityExecutor.cs (11)
1648
AddTrackingRecord(new CancelRequestedRecord(this.WorkflowInstanceId, activityInstance.
Parent
, activityInstance));
1711
exceptionPropagator = exceptionPropagator.
Parent
;
1721
exceptionPropagator.
Parent
,
1726
this.scheduler.PushWork(targetBookmark.GenerateWorkItem(exception, exceptionPropagator, CreateActivityInstanceReference(workItem.OriginalExceptionSource, exceptionPropagator.
Parent
)));
2136
else if (instance.
Parent
!= null)
2280
if (completedInstance.
Parent
== null)
2330
return instance.
Parent
== null && instance != this.rootInstance;
2506
else if (completedInstance.
Parent
!= null)
2510
if (completedInstance.State != ActivityInstanceState.Closed && completedInstance.
Parent
.HasNotExecuted)
2512
completedInstance.
Parent
.SetInitializationIncomplete();
2515
this.scheduler.PushWork(CreateEmptyWorkItem(completedInstance.
Parent
));
System\Activities\Runtime\CompletionBookmark.cs (3)
50
if (completedInstance.State != ActivityInstanceState.Closed && completedInstance.
Parent
.HasNotExecuted)
52
completedInstance.
Parent
.SetInitializationIncomplete();
55
return new EmptyWithCancelationCheckWorkItem(completedInstance.
Parent
, completedInstance);
System\Activities\Runtime\ExecutionPropertyManager.cs (3)
64
if (owningInstance.
Parent
== null)
211
if (currentManager.owningInstance.
Parent
!= null)
213
return currentManager.owningInstance.
Parent
.PropertyManager;
System\Activities\Tracking\ActivityStateRecord.cs (1)
252
currentInstance = currentInstance.
Parent
;
System\Activities\XamlIntegration\CompiledDataContext.cs (2)
163
if (currentInstance.
Parent
== null)
168
currentInstance = currentInstance.
Parent
;
System\Activities\XamlIntegration\CompiledLocation.cs (2)
57
while (this.rootInstance.
Parent
!= null)
59
this.rootInstance = this.rootInstance.
Parent
;