4 writes to Metadata
System.Runtime.DurableInstancing (4)
System\Runtime\DurableInstancing\InstanceKey.cs (4)
45
this.
Metadata
= metadata;
50
this.
Metadata
= new ReadOnlyDictionaryInternal<XName, InstanceValue>(copy);
56
this.
Metadata
= emptyMetadata;
148
this.
Metadata
= value;
13 references to Metadata
System.Runtime.DurableInstancing (2)
System\Runtime\DurableInstancing\InstanceKey.cs (2)
136
if (this.
Metadata
.Count == 0)
142
return this.
Metadata
;
System.ServiceModel.Activities (11)
System\ServiceModel\Activities\Dispatcher\PersistenceContext.cs (2)
825
saveCommand.InstanceKeysToAssociate.Add(key.Value, key.
Metadata
);
1244
saveCommand.InstanceKeysToAssociate.Add(key.Value, key.
Metadata
);
System\ServiceModel\Activities\Dispatcher\PersistenceProviderDirectory.cs (3)
535
InstanceKey lookupKeyToAdd = (canCreateInstance && key.
Metadata
!= null && key.
Metadata
.Count > 0) ? key : null;
581
instanceKeysToAssociate.Add(keyToAdd.Value, keyToAdd.
Metadata
);
System\ServiceModel\Activities\InternalReceiveMessage.cs (1)
1059
if (key.
Metadata
.TryGetValue(WorkflowServiceNamespace.RequestReplyCorrelation, out value))
System\ServiceModel\Activities\InternalSendMessage.cs (1)
918
if (key.
Metadata
.TryGetValue(WorkflowServiceNamespace.RequestReplyCorrelation, out value))
System\ServiceModel\Activities\SerializableInstanceKey.cs (3)
23
if (instanceKey.
Metadata
!= null)
25
this.metadata = new Dictionary<XName, SerializableInstanceValue>(instanceKey.
Metadata
.Count);
26
foreach (KeyValuePair<XName, InstanceValue> pair in instanceKey.
Metadata
)
System\ServiceModel\Activities\ToReply.cs (1)
267
if (instanceKey.
Metadata
.TryGetValue(WorkflowServiceNamespace.MessageVersionForReplies, out messageVersionValue))