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