1 write to Owner
System.Activities (1)
System\Activities\RuntimeArgument.cs (1)
309
this.
Owner
= parent;
23 references to Owner
System.Activities (23)
System\Activities\Activity.cs (1)
974
return InitializeRelationship(argument.
Owner
, true, RelationshipType.ArgumentExpression, ref validationErrors);
System\Activities\ActivityUtilities.cs (1)
564
environment.Declare(argument, argument.
Owner
, ref validationErrors);
System\Activities\DynamicUpdate\ActivityComparer.cs (2)
199
return CompareChildEquality(currentArgument.BoundArgument.Expression, currentArgument.
Owner
.MemberOf, originalArgument.BoundArgument.Expression, originalArgument.
Owner
.MemberOf);
System\Activities\DynamicUpdate\DynamicUpdateMapBuilder.cs (2)
667
this.BlockUpdate(newIdleArgument.
Owner
, UpdateBlockedReason.AddedIdleExpression, mapEntry,
1267
this.BlockUpdate(newIdleArgument.
Owner
, UpdateBlockedReason.AddedIdleExpression, mapEntry,
System\Activities\Runtime\ActivityExecutor.cs (1)
948
Fx.Assert(resultArgument.
Owner
== this.cachedResolutionContext.Activity, "GetIgnorableResultLocation should only be called for activity in resolution context");
System\Activities\RuntimeArgument.cs (14)
146
return this.
Owner
!= null;
185
Fx.Assert(this.
Owner
!= null, "should only be called when argument is bound");
186
return this.
Owner
.IsResultArgument(this);
286
if (this.
Owner
== parent)
288
ActivityUtilities.Add(ref validationErrors, ProcessViolation(parent, SR.ArgumentIsAddedMoreThanOnce(this.Name, this.
Owner
.DisplayName)));
294
Fx.Assert(this.
Owner
!= null, "We must have already assigned an owner.");
296
ActivityUtilities.Add(ref validationErrors, ProcessViolation(parent, SR.ArgumentAlreadyInUse(this.Name, this.
Owner
.DisplayName, parent.DisplayName)));
387
if (!object.ReferenceEquals(this.
Owner
, context.Activity))
393
this.
Owner
.DisplayName)));
406
Fx.Assert(this.
Owner
.IsFastPath, "If an activity defines an argument, then it should define an environment, unless it's SkipArgumentResolution");
415
Fx.Assert(object.ReferenceEquals(this.
Owner
, context.Activity) || object.ReferenceEquals(this.
Owner
, context.Activity.MemberOf.Owner),
418
if (!context.Environment.TryGetLocation(this.Id, this.
Owner
, out location))
454
if (!environment.TryGetLocation(this.Id, this.
Owner
, out location))
System\Activities\Validation\ValidationHelper.cs (2)
287
if (argument.
Owner
!= null && argument.
Owner
.Parent == null && ArgumentDirectionHelper.IsOut(argument.Direction))