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