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