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