1 write to owner
System.Activities (1)
System\Activities\ActivityDelegate.cs (1)
204
this.
owner
= parent;
8 references to owner
System.Activities (8)
System\Activities\ActivityDelegate.cs (8)
85
return this.
owner
;
143
if (object.ReferenceEquals(parent, this.
owner
))
157
Fx.Assert(this.
owner
!= null, "We must have set the owner when we set the cache ID");
174
ActivityUtilities.Add(ref validationErrors, new ValidationError(SR.ActivityDelegateCannotBeReferencedWithoutTargetNoHandler(parent.DisplayName, this.
owner
.DisplayName), false, parent));
178
ActivityUtilities.Add(ref validationErrors, new ValidationError(SR.ActivityDelegateCannotBeReferencedWithoutTarget(handler.DisplayName, parent.DisplayName, this.
owner
.DisplayName), false, parent));
189
ActivityUtilities.Add(ref validationErrors, new ValidationError(SR.ActivityDelegateCannotBeReferencedNoHandler(parent.DisplayName, referenceTarget.DisplayName, this.
owner
.DisplayName), false, parent));
193
ActivityUtilities.Add(ref validationErrors, new ValidationError(SR.ActivityDelegateCannotBeReferenced(handler.DisplayName, parent.DisplayName, referenceTarget.DisplayName, this.
owner
.DisplayName), false, parent));
248
newEnvironment.Declare(delegateArgument, this.
owner
, ref validationErrors);