2 instantiations of InstanceOwner
System.Runtime.DurableInstancing (2)
System\Runtime\DurableInstancing\InstanceStore.cs (2)
291
owner = new
InstanceOwner
(instanceOwnerId, lockToken);
301
owner = new
InstanceOwner
(instanceOwnerId, lockToken);
45 references to InstanceOwner
System.Activities (2)
System\Activities\WorkflowApplication.cs (2)
5544
InstanceOwner
owner;
5686
void CreateTemporaryHandle(
InstanceOwner
owner)
System.Activities.DurableInstancing (8)
System\Activities\DurableInstancing\DetectActivatableWorkflowsTask.cs (1)
19
InstanceOwner
instanceOwner;
System\Activities\DurableInstancing\DetectRunnableInstancesTask.cs (1)
19
InstanceOwner
instanceOwner;
System\Activities\DurableInstancing\SqlWorkflowInstanceStore.cs (6)
480
internal InstancePersistenceEvent FindEvent(InstancePersistenceEvent eventType, out
InstanceOwner
instanceOwner)
485
internal InstancePersistenceEvent FindEventWithReset(InstancePersistenceEvent eventType, out
InstanceOwner
instanceOwner)
522
InstanceOwner
instanceOwner;
573
InstancePersistenceEvent FindEventHelper(InstancePersistenceEvent eventType, out
InstanceOwner
instanceOwner, bool withReset)
576
InstanceOwner
[] instanceOwners = GetInstanceOwners();
580
foreach (
InstanceOwner
owner in instanceOwners)
System.Runtime.DurableInstancing (32)
System\Runtime\DurableInstancing\InstanceHandle.cs (11)
35
internal InstanceHandle(InstanceStore store,
InstanceOwner
owner)
46
internal InstanceHandle(InstanceStore store,
InstanceOwner
owner, Guid instanceId)
70
internal
InstanceOwner
Owner { get; private set; }
268
InstanceOwner
.ResolveHandles(handlesPendingResolution);
311
internal void BindOwner(
InstanceOwner
owner)
347
InstanceOwner
.ResolveHandles(handlesPendingResolution);
394
InstanceOwner
.ResolveHandles(handlesPendingResolution);
417
InstanceOwner
.ResolveHandles(handlesPendingResolution);
448
InstanceOwner
.ResolveHandles(handlesPendingResolution);
575
InstanceOwner
.ResolveHandles(handlesPendingResolution);
699
InstanceOwner
.ResolveHandles(handlesPendingResolution);
System\Runtime\DurableInstancing\InstancePersistenceContext.cs (1)
153
InstanceOwner
owner = InstanceHandle.Store.GetOrCreateOwner(instanceOwnerId, lockToken);
System\Runtime\DurableInstancing\InstanceStore.cs (16)
37
public
InstanceOwner
DefaultInstanceOwner { get; set; }
44
public InstanceHandle CreateInstanceHandle(
InstanceOwner
owner)
54
public InstanceHandle CreateInstanceHandle(
InstanceOwner
owner, Guid instanceId)
148
protected void SignalEvent(InstancePersistenceEvent persistenceEvent,
InstanceOwner
owner)
188
protected void ResetEvent(InstancePersistenceEvent persistenceEvent,
InstanceOwner
owner)
253
protected
InstanceOwner
[] GetInstanceOwners()
257
return this.owners.Values.Select(weakReference => (
InstanceOwner
)weakReference.Target).Where(owner => owner != null).ToArray();
261
protected InstancePersistenceEvent[] GetEvents(
InstanceOwner
owner)
280
internal
InstanceOwner
GetOrCreateOwner(Guid instanceOwnerId, Guid lockToken)
285
InstanceOwner
owner;
288
owner = (
InstanceOwner
)ownerRef.Target;
333
internal void PendHandleToEvent(InstanceHandle handle, InstancePersistenceEvent persistenceEvent,
InstanceOwner
owner)
347
internal InstancePersistenceEvent AddHandleToEvent(InstanceHandle handle, InstancePersistenceEvent persistenceEvent,
InstanceOwner
owner)
363
internal List<InstancePersistenceEvent> SelectSignaledEvents(IEnumerable<XName> eventNames,
InstanceOwner
owner)
387
internal void RemoveHandleFromEvents(InstanceHandle handle, IEnumerable<XName> eventNames,
InstanceOwner
owner)
410
InstanceNormalEvent GetOwnerEventHelper(InstancePersistenceEvent persistenceEvent,
InstanceOwner
owner)
System\Runtime\DurableInstancing\InstanceView.cs (4)
33
internal InstanceView(
InstanceOwner
owner)
39
internal InstanceView(
InstanceOwner
owner, Guid instanceId)
94
public
InstanceOwner
InstanceOwner { get; private set; }
244
internal void BindOwner(
InstanceOwner
owner)
System.ServiceModel.Activities (3)
System\ServiceModel\Activities\Dispatcher\DurableInstanceManager.cs (1)
30
InstanceOwner
owner;
System\ServiceModel\Activities\Dispatcher\PersistenceProviderDirectory.cs (2)
28
readonly
InstanceOwner
owner;
44
internal PersistenceProviderDirectory(InstanceStore store,
InstanceOwner
owner, IDictionary<XName, InstanceValue> instanceMetadataChanges, WorkflowDefinitionProvider workflowDefinitionProvider, WorkflowServiceHost serviceHost,