3 instantiations of WorkflowIdentity
System.Activities (2)
System\Activities\WorkflowApplication.cs (1)
59static readonly WorkflowIdentity unknownIdentity = new WorkflowIdentity();
System\Activities\WorkflowIdentity.cs (1)
339WorkflowIdentity result = new WorkflowIdentity();
System.Activities.DurableInstancing (1)
System\Activities\DurableInstancing\SerializationUtilities.cs (1)
284return GetIdentityHash(new WorkflowIdentity(id.Name, version, id.Package));
115 references to WorkflowIdentity
System.Activities (69)
System\Activities\Hosting\WorkflowInstance.cs (3)
70protected WorkflowInstance(Activity workflowDefinition, WorkflowIdentity definitionIdentity) 136public WorkflowIdentity DefinitionIdentity 283WorkflowIdentity originalDefinitionIdentity = this.executor.WorkflowIdentity;
System\Activities\Runtime\ActivityExecutor.cs (1)
357public WorkflowIdentity WorkflowIdentity
System\Activities\Tracking\WorkflowInstanceAbortedRecord.cs (2)
39public WorkflowInstanceAbortedRecord(Guid instanceId, string activityDefinitionId, string reason, WorkflowIdentity workflowDefinitionIdentity) 45public WorkflowInstanceAbortedRecord(Guid instanceId, long recordNumber, string activityDefinitionId, string reason, WorkflowIdentity workflowDefinitionIdentity)
System\Activities\Tracking\WorkflowInstanceRecord.cs (5)
16WorkflowIdentity workflowDefinitionIdentity; 50public WorkflowInstanceRecord(Guid instanceId, string activityDefinitionId, string state, WorkflowIdentity workflowDefinitionIdentity) 56public WorkflowInstanceRecord(Guid instanceId, long recordNumber, string activityDefinitionId, string state, WorkflowIdentity workflowDefinitionIdentity) 70public WorkflowIdentity WorkflowDefinitionIdentity 107internal WorkflowIdentity SerializedWorkflowDefinitionIdentity
System\Activities\Tracking\WorkflowInstanceSuspendedRecord.cs (2)
39public WorkflowInstanceSuspendedRecord(Guid instanceId, string activityDefinitionId, string reason, WorkflowIdentity workflowDefinitionIdentity) 45public WorkflowInstanceSuspendedRecord(Guid instanceId, long recordNumber, string activityDefinitionId, string reason, WorkflowIdentity workflowDefinitionIdentity)
System\Activities\Tracking\WorkflowInstanceTerminatedRecord.cs (2)
42public WorkflowInstanceTerminatedRecord(Guid instanceId, string activityDefinitionId, string reason, WorkflowIdentity workflowDefinitionIdentity) 48public WorkflowInstanceTerminatedRecord(Guid instanceId, long recordNumber, string activityDefinitionId, string reason, WorkflowIdentity workflowDefinitionIdentity)
System\Activities\Tracking\WorkflowInstanceUnhandledExceptionRecord.cs (2)
45public WorkflowInstanceUnhandledExceptionRecord(Guid instanceId, string activityDefinitionId, ActivityInfo faultSource, Exception exception, WorkflowIdentity workflowDefinitionIdentity) 51public WorkflowInstanceUnhandledExceptionRecord(Guid instanceId, long recordNumber, string activityDefinitionId, ActivityInfo faultSource, Exception exception, WorkflowIdentity workflowDefinitionIdentity)
System\Activities\Tracking\WorkflowInstanceUpdatedRecord.cs (11)
18WorkflowIdentity originalDefinitionIdentity; 21public WorkflowInstanceUpdatedRecord(Guid instanceId, string activityDefinitionId, WorkflowIdentity originalDefinitionIdentity, WorkflowIdentity updatedDefinitionIdentity) 27public WorkflowInstanceUpdatedRecord(Guid instanceId, string activityDefinitionId, WorkflowIdentity originalDefinitionIdentity, WorkflowIdentity updatedDefinitionIdentity, IList<ActivityBlockingUpdate> blockingActivities) 34public WorkflowInstanceUpdatedRecord(Guid instanceId, long recordNumber, string activityDefinitionId, WorkflowIdentity originalDefinitionIdentity, WorkflowIdentity updatedDefinitionIdentity) 40public WorkflowInstanceUpdatedRecord(Guid instanceId, long recordNumber, string activityDefinitionId, WorkflowIdentity originalDefinitionIdentity, WorkflowIdentity updatedDefinitionIdentity, IList<ActivityBlockingUpdate> blockingActivities) 54public WorkflowIdentity OriginalDefinitionIdentity 87internal WorkflowIdentity SerializedOriginalDefinitionIdentity
System\Activities\VersionMismatchException.cs (14)
30public VersionMismatchException(WorkflowIdentity expectedVersion, WorkflowIdentity actualVersion) 37public VersionMismatchException(string message, WorkflowIdentity expectedVersion, WorkflowIdentity actualVersion) 44public VersionMismatchException(string message, WorkflowIdentity expectedVersion, WorkflowIdentity actualVersion, Exception innerException) 54this.ExpectedVersion = (WorkflowIdentity)info.GetValue("expectedVersion", typeof(WorkflowIdentity)); 55this.ActualVersion = (WorkflowIdentity)info.GetValue("actualVersion", typeof(WorkflowIdentity)); 58public WorkflowIdentity ExpectedVersion 64public WorkflowIdentity ActualVersion 79private static string GetMessage(WorkflowIdentity expectedVersion, WorkflowIdentity actualVersion)
System\Activities\WorkflowApplication.cs (16)
59static readonly WorkflowIdentity unknownIdentity = new WorkflowIdentity(); 109: this(workflowDefinition, (WorkflowIdentity)null) 114: this(workflowDefinition, inputs, (WorkflowIdentity)null) 118public WorkflowApplication(Activity workflowDefinition, WorkflowIdentity definitionIdentity) 125public WorkflowApplication(Activity workflowDefinition, IDictionary<string, object> inputs, WorkflowIdentity definitionIdentity) 1434public static void CreateDefaultInstanceOwner(InstanceStore instanceStore, WorkflowIdentity definitionIdentity, WorkflowIdentityFilter identityFilter) 1439public static void CreateDefaultInstanceOwner(InstanceStore instanceStore, WorkflowIdentity definitionIdentity, WorkflowIdentityFilter identityFilter, TimeSpan timeout) 1455public static IAsyncResult BeginCreateDefaultInstanceOwner(InstanceStore instanceStore, WorkflowIdentity definitionIdentity, 1461public static IAsyncResult BeginCreateDefaultInstanceOwner(InstanceStore instanceStore, WorkflowIdentity definitionIdentity, 1558static CreateWorkflowOwnerWithIdentityCommand GetCreateOwnerCommand(WorkflowIdentity definitionIdentity, WorkflowIdentityFilter identityFilter) 1575{ Workflow45Namespace.DefinitionIdentities, new InstanceValue(new Collection<WorkflowIdentity> { definitionIdentity }) }, 4483WorkflowIdentity definitionIdentity = this.application != null ? this.application.DefinitionIdentity : WorkflowApplication.unknownIdentity; 5659public void Initialize(WorkflowIdentity definitionIdentity, TimeSpan timeout) 5708public IAsyncResult BeginInitialize(WorkflowIdentity definitionIdentity, TimeSpan timeout, AsyncCallback callback, object state) 5889static InstancePersistenceCommand GetCreateOwnerCommand(WorkflowIdentity definitionIdentity) 5902new InstanceValue(new Collection<WorkflowIdentity> { definitionIdentity }));
System\Activities\WorkflowApplicationInstance.cs (2)
27WorkflowIdentity definitionIdentity) 42public WorkflowIdentity DefinitionIdentity
System\Activities\WorkflowIdentity.cs (8)
18public class WorkflowIdentity : IEquatable<WorkflowIdentity> 80public static WorkflowIdentity Parse(string identity) 89public static bool TryParse(string identity, out WorkflowIdentity result) 102return Equals(obj as WorkflowIdentity); 105public bool Equals(WorkflowIdentity other) 291public static WorkflowIdentity Parse(string identity, bool throwOnError) 320WorkflowIdentity Parse() 339WorkflowIdentity result = new WorkflowIdentity();
System\Activities\XamlIntegration\WorkflowIdentityConverter.cs (1)
25return WorkflowIdentity.Parse(valueString);
System.Activities.DurableInstancing (11)
System\Activities\DurableInstancing\SerializationUtilities.cs (11)
264static Guid GetIdentityHash(WorkflowIdentity id) 270static Guid GetIdentityAnyRevisionFilterHash(WorkflowIdentity id) 299IList<WorkflowIdentity> identityCollection = null; 310identityCollection = instanceValueIdentityCollection.Value as IList<WorkflowIdentity>; 313string typeName = typeof(IList<>).Name.Replace("`1", "<" + typeof(WorkflowIdentity).Name + ">"); 350identityCollection = new Collection<WorkflowIdentity>(); 351if (!(instanceValue.Value is WorkflowIdentity)) 353throw FxTrace.Exception.AsError(new InstancePersistenceCommandException(SR.InvalidMetadataValue(Workflow45Namespace.DefinitionIdentity, typeof(WorkflowIdentity).Name))); 356identityCollection.Add((WorkflowIdentity)instanceValue.Value); 373identityCollection = new Collection<WorkflowIdentity>(); 384foreach (WorkflowIdentity id in identityCollection)
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\DesignerMetadata.cs (1)
98builder.AddCustomAttributes(typeof(WorkflowIdentity), new TypeConverterAttribute(typeof(ExpandableObjectConverter)));
System.ServiceModel.Activities (34)
System\ServiceModel\Activities\Dispatcher\ControlOperationInvoker.cs (5)
598WorkflowIdentity identity = (WorkflowIdentity)this.inputs[1]; 830WorkflowIdentity GetIdentityForControlOperation(object[] args) 835if (arg == null || arg is WorkflowIdentity) 837return (WorkflowIdentity)arg;
System\ServiceModel\Activities\Dispatcher\PersistenceContext.cs (2)
114WorkflowIdentity definitionIdentity; 116if (!TryGetValue<WorkflowIdentity>(view.InstanceMetadata, Workflow45Namespace.DefinitionIdentity, out definitionIdentity))
System\ServiceModel\Activities\Dispatcher\PersistenceProviderDirectory.cs (2)
105public WorkflowServiceInstance InitializeInstance(Guid instanceId, PersistenceContext context, WorkflowIdentity definitionIdentity, WorkflowIdentityKey updatedIdentity, IDictionary<XName, InstanceValue> instance, WorkflowCreationContext creationContext) 130WorkflowIdentity definitionToLoad = updatedIdentity == null ? definitionIdentity : updatedIdentity.Identity;
System\ServiceModel\Activities\Dispatcher\WorkflowServiceInstance.cs (2)
138WorkflowServiceInstance(Activity workflowDefinition, WorkflowIdentity definitionIdentity, Guid instanceId, WorkflowServiceHost serviceHost, PersistenceContext persistenceContext) 315public static WorkflowServiceInstance InitializeInstance(PersistenceContext persistenceContext, Guid instanceId, Activity workflowDefinition, WorkflowIdentity definitionIdentity, IDictionary<XName, InstanceValue> loadedObject, WorkflowCreationContext creationContext,
System\ServiceModel\Activities\IWorkflowInstanceManagement.cs (4)
144void Update(Guid instanceId, WorkflowIdentity updatedDefinitionIdentity); 148IAsyncResult BeginUpdate(Guid instanceId, WorkflowIdentity updatedDefinitionIdentity, AsyncCallback callback, object state); 155void TransactedUpdate(Guid instanceId, WorkflowIdentity updatedDefinitionIdentity); 159IAsyncResult BeginTransactedUpdate(Guid instanceId, WorkflowIdentity updatedDefinitionIdentity, AsyncCallback callback, object state);
System\ServiceModel\Activities\WorkflowDefinitionProvider.cs (6)
48public WorkflowIdentity DefaultDefinitionIdentity 64Collection<WorkflowIdentity> identityCollection = new Collection<WorkflowIdentity>(); 133public bool TryGetDefinition(WorkflowIdentity workflowIdentity, out Activity workflowDefinition) 151public bool TryGetDefinitionAndMap(WorkflowIdentity currentIdentity, WorkflowIdentity updatedIdentity, out Activity workflowDefinition, out DynamicUpdateMap updateMap)
System\ServiceModel\Activities\WorkflowIdentityKey.cs (2)
12public WorkflowIdentityKey(WorkflowIdentity definitionIdentity) 17public WorkflowIdentity Identity
System\ServiceModel\Activities\WorkflowService.cs (4)
34NullableKeyDictionary<WorkflowIdentity, DynamicUpdateMap> updateMaps; 94public WorkflowIdentity DefinitionIdentity 113public IDictionary<WorkflowIdentity, DynamicUpdateMap> UpdateMaps 119this.updateMaps = new NullableKeyDictionary<WorkflowIdentity, DynamicUpdateMap>();
System\ServiceModel\Activities\WorkflowUpdateableControlClient.cs (7)
359public void Update(Guid instanceId, WorkflowIdentity updatedDefinitionIdentity) 372public void UpdateAsync(Guid instanceId, WorkflowIdentity updatedDefinitionIdentity) 378public void UpdateAsync(Guid instanceId, WorkflowIdentity updatedDefinitionIdentity, object userState) 480public IAsyncResult BeginUpdate(Guid instanceId, WorkflowIdentity updatedDefinitionIdentity, AsyncCallback callback, object state) 633return this.BeginUpdate((Guid)inputs[0], (WorkflowIdentity)inputs[1], callback, state); 951public UpdateAsyncResult(IWorkflowUpdateableInstanceManagement channel, bool isTransacted, Guid instanceId, WorkflowIdentity updatedDefinitionIdentity, 970bool Update(Guid instanceId, WorkflowIdentity updatedDefinitionIdentity)