22 references to InstanceValue
System.Activities (6)
System\Activities\WorkflowApplication.cs (6)
1574
{ WorkflowNamespace.WorkflowHostType, new
InstanceValue
(Workflow45Namespace.WorkflowApplication) },
1575
{ Workflow45Namespace.DefinitionIdentities, new
InstanceValue
(new Collection<WorkflowIdentity> { definitionIdentity }) },
1576
{ Workflow45Namespace.DefinitionIdentityFilter, new
InstanceValue
(identityFilter) },
2876
this.instanceMetadata.Add(WorkflowNamespace.WorkflowHostType, new
InstanceValue
(Workflow45Namespace.WorkflowApplication));
5853
data[WorkflowNamespace.Workflow] = new
InstanceValue
(instance.Controller.PrepareForSerialization());
5902
new
InstanceValue
(new Collection<WorkflowIdentity> { definitionIdentity }));
System.Activities.DurableInstancing (2)
System\Activities\DurableInstancing\SerializationUtilities.cs (2)
103
metadataProperties.Add(property.Key, new
InstanceValue
(property.Value));
250
properties.Add(property.Key, new
InstanceValue
(property.Value));
System.Runtime.DurableInstancing (1)
System\Runtime\PersistencePipeline.cs (1)
90
this.values.Add(value.Key, new
InstanceValue
(value.Value));
System.ServiceModel.Activities (13)
System\ServiceModel\Activities\Dispatcher\DurableInstanceManager.cs (6)
45
InstanceValue sentinel = new
InstanceValue
(XNamespace.Get("http://tempuri.org").GetName("Sentinel"));
84
this.instanceOwnerMetadata.Add(property.Key, new
InstanceValue
(property.Value));
312
this.instanceOwnerMetadata[WorkflowNamespace.WorkflowHostType] = new
InstanceValue
(Host.DurableInstancingOptions.ScopeName);
313
this.instanceMetadataChanges[WorkflowNamespace.WorkflowHostType] = new
InstanceValue
(Host.DurableInstancingOptions.ScopeName);
332
this.instanceOwnerMetadata.Add(WorkflowServiceNamespace.ControlEndpoint, new
InstanceValue
(endpoint.ListenUri));
340
this.instanceOwnerMetadata.Add(endpointName, new
InstanceValue
(endpoint.ListenUri));
System\ServiceModel\Activities\Dispatcher\PersistenceContext.cs (2)
816
saveCommand.InstanceMetadataChanges.Add(WorkflowServiceNamespace.SuspendReason, new
InstanceValue
(this.persistenceContext.SuspendedReason));
1347
saveCommand.InstanceMetadataChanges[WorkflowServiceNamespace.SuspendReason] = new
InstanceValue
(reason.Message);
System\ServiceModel\Activities\Dispatcher\WorkflowServiceInstance.cs (2)
1534
data[WorkflowNamespace.Workflow] = new
InstanceValue
(Controller.PrepareForSerialization());
1538
data[WorkflowServiceNamespace.CreationContext] = new
InstanceValue
(this.creationContext);
System\ServiceModel\Activities\InternalSendMessage.cs (2)
768
{ WorkflowServiceNamespace.RequestReplyCorrelation, new
InstanceValue
(true) }
786
{ WorkflowServiceNamespace.RequestReplyCorrelation, new
InstanceValue
(true) }
System\ServiceModel\Activities\WorkflowDefinitionProvider.cs (1)
72
metadataCollection.Add(Workflow45Namespace.DefinitionIdentities, new
InstanceValue
(identityCollection));