2 instantiations of GrantedLock
System.Workflow.ComponentModel (2)
AuthoringOM\ActivityExecutionContext.cs (2)
433
grantedLocks[handle] = new
GrantedLock
(activity);
756
GrantedLock clonedGrantedLock = new
GrantedLock
(this.holder);
12 references to GrantedLock
System.Workflow.ComponentModel (12)
AuthoringOM\ActivityExecutionContext.cs (12)
45
internal static readonly DependencyProperty GrantedLocksProperty = DependencyProperty.RegisterAttached("GrantedLocks", typeof(Dictionary<string,
GrantedLock
>), typeof(ActivityExecutionContext));
46
internal static readonly DependencyProperty CachedGrantedLocksProperty = DependencyProperty.RegisterAttached("CachedGrantedLocks", typeof(Dictionary<string,
GrantedLock
>), typeof(ActivityExecutionContext), new PropertyMetadata(DependencyPropertyOptions.NonSerialized));
422
Dictionary<string,
GrantedLock
> grantedLocks = (Dictionary<string,
GrantedLock
>)parent.GetValue(GrantedLocksProperty);
425
grantedLocks = new Dictionary<string,
GrantedLock
>();
481
Dictionary<string,
GrantedLock
> grantedLocks = (Dictionary<string,
GrantedLock
>)parent.GetValue(GrantedLocksProperty);
487
Dictionary<string,
GrantedLock
> cachedGrantedLocks = new Dictionary<string,
GrantedLock
>();
490
foreach (KeyValuePair<string,
GrantedLock
> grantedLockEntry in grantedLocks)
491
cachedGrantedLocks.Add(grantedLockEntry.Key, (
GrantedLock
)grantedLockEntry.Value.Clone());
756
GrantedLock
clonedGrantedLock = new GrantedLock(this.holder);