2 types derived from InstancePersistenceEvent
System.Runtime.DurableInstancing (2)
System\Runtime\DurableInstancing\InstanceNormalEvent.cs (1)
11
class InstanceNormalEvent :
InstancePersistenceEvent
System\Runtime\DurableInstancing\InstancePersistenceEvent.cs (1)
60
public abstract class InstancePersistenceEvent<T> :
InstancePersistenceEvent
50 references to InstancePersistenceEvent
System.Activities.DurableInstancing (10)
System\Activities\DurableInstancing\SqlWorkflowInstanceStore.cs (10)
480
internal
InstancePersistenceEvent
FindEvent(
InstancePersistenceEvent
eventType, out InstanceOwner instanceOwner)
485
internal
InstancePersistenceEvent
FindEventWithReset(
InstancePersistenceEvent
eventType, out InstanceOwner instanceOwner)
518
internal void UpdateEventStatus(bool signalEvent,
InstancePersistenceEvent
eventToUpdate)
523
InstancePersistenceEvent
requiredEvent = this.FindEventWithReset(eventToUpdate, out instanceOwner);
573
InstancePersistenceEvent
FindEventHelper(
InstancePersistenceEvent
eventType, out InstanceOwner instanceOwner, bool withReset)
596
InstancePersistenceEvent
[] registeredEvents = base.GetEvents(instanceOwner);
598
foreach (
InstancePersistenceEvent
persistenceEvent in registeredEvents)
System.Runtime.DurableInstancing (38)
System\Runtime\DurableInstancing\InstanceHandle.cs (17)
28
HashSet<
InstancePersistenceEvent
> pendingOwnerEvents;
272
internal void BindOwnerEvent(
InstancePersistenceEvent
persistenceEvent)
284
this.pendingOwnerEvents = new HashSet<
InstancePersistenceEvent
>();
511
List<
InstancePersistenceEvent
> normals = null;
542
foreach (
InstancePersistenceEvent
persistenceEvent in this.pendingOwnerEvents)
550
InstancePersistenceEvent
normal = Store.AddHandleToEvent(this, persistenceEvent, Owner);
555
normals = new List<
InstancePersistenceEvent
>(this.pendingOwnerEvents.Count);
703
List<
InstancePersistenceEvent
> StartWaiting(WaitForEventsAsyncResult result, IOThreadTimer timeoutTimer, TimeSpan timeout)
719
List<
InstancePersistenceEvent
> readyEvents = Store.SelectSignaledEvents(this.boundOwnerEvents, Owner);
753
internal void EventReady(
InstancePersistenceEvent
persistenceEvent)
776
internal static List<
InstancePersistenceEvent
> EndWaitForEvents(IAsyncResult result)
1033
List<
InstancePersistenceEvent
> readyEvents;
1046
List<
InstancePersistenceEvent
> existingReadyEvents = this.handle.StartWaiting(this, this.timer, this.timeout);
1062
internal void Signaled(
InstancePersistenceEvent
persistenceEvent)
1064
Signaled(new List<
InstancePersistenceEvent
>(1) { persistenceEvent });
1067
internal void Signaled(List<
InstancePersistenceEvent
> persistenceEvents)
1095
internal static List<
InstancePersistenceEvent
> End(IAsyncResult result)
System\Runtime\DurableInstancing\InstanceNormalEvent.cs (1)
16
internal InstanceNormalEvent(
InstancePersistenceEvent
persistenceEvent)
System\Runtime\DurableInstancing\InstancePersistenceContext.cs (1)
175
public void BindEvent(
InstancePersistenceEvent
persistenceEvent)
System\Runtime\DurableInstancing\InstancePersistenceEvent.cs (7)
10
public abstract class InstancePersistenceEvent : IEquatable<
InstancePersistenceEvent
>
23
public bool Equals(
InstancePersistenceEvent
persistenceEvent)
30
return Equals(obj as
InstancePersistenceEvent
);
38
public static bool operator ==(
InstancePersistenceEvent
left,
InstancePersistenceEvent
right)
54
public static bool operator !=(
InstancePersistenceEvent
left,
InstancePersistenceEvent
right)
System\Runtime\DurableInstancing\InstanceStore.cs (12)
117
public List<
InstancePersistenceEvent
> WaitForEvents(InstanceHandle handle, TimeSpan timeout)
143
public List<
InstancePersistenceEvent
> EndWaitForEvents(IAsyncResult result)
148
protected void SignalEvent(
InstancePersistenceEvent
persistenceEvent, InstanceOwner owner)
188
protected void ResetEvent(
InstancePersistenceEvent
persistenceEvent, InstanceOwner owner)
261
protected
InstancePersistenceEvent
[] GetEvents(InstanceOwner owner)
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)
365
List<
InstancePersistenceEvent
> readyEvents = null;
378
readyEvents = new List<
InstancePersistenceEvent
>(1);
410
InstanceNormalEvent GetOwnerEventHelper(
InstancePersistenceEvent
persistenceEvent, InstanceOwner owner)
System.ServiceModel.Activities (2)
System\ServiceModel\Activities\Dispatcher\DurableInstanceManager.cs (2)
1339
IEnumerator<
InstancePersistenceEvent
> events;
1403
InstancePersistenceEvent
currentEvent = this.events.Current;