6 writes to PropertyManager
System.Activities (6)
System\Activities\ActivityInstance.cs (3)
773
this.
PropertyManager
= this.parent.PropertyManager;
777
this.
PropertyManager
= executor.RootPropertyManager;
846
this.
PropertyManager
= this.parent.PropertyManager;
System\Activities\Runtime\ActivityExecutor.cs (1)
2732
PropertyManager
= this.rootPropertyManager
System\Activities\Runtime\ExecutionPropertyManager.cs (2)
53
owningInstance.
PropertyManager
= this;
117
instance.
PropertyManager
= this;
29 references to PropertyManager
System.Activities (29)
System\Activities\ActivityInstance.cs (7)
663
if (currentInstance.
PropertyManager
!= null)
665
currentInstance.
PropertyManager
.UnregisterProperties(currentInstance, currentInstance.Activity.MemberOf, true);
766
if (this.
PropertyManager
!= null)
768
this.
PropertyManager
.OnDeserialized(this, parent, this.Activity.MemberOf, executor);
773
this.PropertyManager = this.parent.
PropertyManager
;
844
if (this.parent.
PropertyManager
!= null)
846
this.PropertyManager = this.parent.
PropertyManager
;
System\Activities\CodeActivityContext.cs (2)
34
if (this.CurrentInstance.
PropertyManager
!= null)
36
return (THandle)this.CurrentInstance.
PropertyManager
.GetProperty(Handle.GetPropertyName(typeof(THandle)), this.Activity.MemberOf);
System\Activities\DynamicUpdate\NativeActivityUpdateContext.cs (1)
94
ExecutionProperties exeProperties = new ExecutionProperties(this.innerContext, this.currentInstance, this.currentInstance.
PropertyManager
);
System\Activities\NativeActivityContext.cs (2)
60
return new ExecutionProperties(this, this.CurrentInstance, this.CurrentInstance.
PropertyManager
);
2217
return new ExecutionProperties(this, handle.Owner, handle.Owner.
PropertyManager
);
System\Activities\Runtime\ActivityExecutor.cs (6)
1850
if (propertyManagerOwner != null && propertyManagerOwner.
PropertyManager
!= null)
1854
propertyManagerOwner.
PropertyManager
.SetupWorkflowThread();
1880
if (propertyManagerOwner != null && propertyManagerOwner.
PropertyManager
!= null)
1883
propertyManagerOwner.
PropertyManager
.CleanupWorkflowThread(ref setupOrCleanupException);
2165
if (targetInstance.
PropertyManager
!= null)
2167
targetInstance.
PropertyManager
.UnregisterProperties(targetInstance, targetInstance.Activity.MemberOf);
System\Activities\Runtime\BookmarkManager.cs (3)
106
if (owningInstance.
PropertyManager
== null)
111
if (!owningInstance.
PropertyManager
.HasExclusiveHandlesInScope)
116
List<ExclusiveHandle> handles = owningInstance.
PropertyManager
.FindAll<ExclusiveHandle>();
System\Activities\Runtime\ExecutionPropertyManager.cs (8)
45
ActivityInstance previousOwner = owningInstance.
PropertyManager
!= null ? owningInstance.
PropertyManager
.owningInstance : null;
115
if (instance.
PropertyManager
== null || instance.
PropertyManager
.owningInstance == previousOwner)
213
return currentManager.owningInstance.Parent.
PropertyManager
;
279
ExecutionPropertyManager childManager = child.
PropertyManager
;
543
if (parent.
PropertyManager
!= null)
545
this.threadProperties = parent.
PropertyManager
.threadProperties;