7 writes to InstanceKeys
System.Runtime.DurableInstancing (7)
System\Runtime\DurableInstancing\InstancePersistenceContext.cs (6)
356InstanceView.InstanceKeys = keysCopy == null ? null : new ReadOnlyDictionaryInternal<Guid, InstanceKeyView>(keysCopy); 447InstanceView.InstanceKeys = new ReadOnlyDictionaryInternal<Guid, InstanceKeyView>(copy); 488InstanceView.InstanceKeys = new ReadOnlyDictionaryInternal<Guid, InstanceKeyView>(copy); 523InstanceView.InstanceKeys = new ReadOnlyDictionaryInternal<Guid, InstanceKeyView>(copy); 561InstanceView.InstanceKeys = new ReadOnlyDictionaryInternal<Guid, InstanceKeyView>(copy); 625InstanceView.InstanceKeys = new ReadOnlyDictionaryInternal<Guid, InstanceKeyView>(copy);
System\Runtime\DurableInstancing\InstanceView.cs (1)
88InstanceKeys = keys == null ? null : new ReadOnlyDictionaryInternal<Guid, InstanceKeyView>(keys);
19 references to InstanceKeys
System.Activities.DurableInstancing (4)
System\Activities\DurableInstancing\SaveWorkflowAsyncResult.cs (4)
323if (!instanceView.InstanceKeys.ContainsKey(keyEntry.Key)) 340if (instanceView.InstanceKeys.TryGetValue(key, out existingKeyView)) 352if (instanceView.InstanceKeys.TryGetValue(key, out existingKeyView)) 371foreach (KeyValuePair<Guid, InstanceKeyView> instanceKeys in instanceView.InstanceKeys)
System.Runtime.DurableInstancing (13)
System\Runtime\DurableInstancing\InstancePersistenceContext.cs (10)
367foreach (KeyValuePair<Guid, InstanceKeyView> key in InstanceView.InstanceKeys) 438Dictionary<Guid, InstanceKeyView> copy = new Dictionary<Guid, InstanceKeyView>(InstanceView.InstanceKeys); 461InstanceView.InstanceKeys.TryGetValue(key, out existingKeyView); 483Dictionary<Guid, InstanceKeyView> copy = new Dictionary<Guid, InstanceKeyView>(InstanceView.InstanceKeys); 503InstanceView.InstanceKeys.TryGetValue(key, out existingKeyView); 521Dictionary<Guid, InstanceKeyView> copy = new Dictionary<Guid, InstanceKeyView>(InstanceView.InstanceKeys); 537if (!InstanceView.InstanceKeys.TryGetValue(key, out keyView)) 544Dictionary<Guid, InstanceKeyView> copy = new Dictionary<Guid, InstanceKeyView>(InstanceView.InstanceKeys); 611if (!InstanceView.InstanceKeys.TryGetValue(key, out keyView)) 620Dictionary<Guid, InstanceKeyView> copy = new Dictionary<Guid, InstanceKeyView>(InstanceView.InstanceKeys);
System\Runtime\DurableInstancing\InstanceView.cs (3)
80if (source.InstanceKeys.Count > 0) 82keys = new Dictionary<Guid, InstanceKeyView>(source.InstanceKeys.Count); 83foreach (KeyValuePair<Guid, InstanceKeyView> key in source.InstanceKeys)
System.ServiceModel.Activities (2)
System\ServiceModel\Activities\Dispatcher\PersistenceProviderDirectory.cs (2)
1119this.context = new PersistenceContext(this.ppd, this.ppd.store, this.handle, this.view.InstanceId, this.view.InstanceKeys.Values.Select((keyView) => new InstanceKey(keyView.InstanceKey, keyView.InstanceKeyMetadata)), true, true, this.view, null); 1128this.context = new PersistenceContext(this.ppd, this.ppd.store, this.handle, this.view.InstanceId, this.view.InstanceKeys.Values.Select((keyView) => new InstanceKey(keyView.InstanceKey, keyView.InstanceKeyMetadata)), false, true, this.view, this.updatedIdentity);