2 types derived from StateMachineSubscription
System.Workflow.Activities (2)
StateMachineSubscription.cs (2)
64
internal class EventActivitySubscription :
StateMachineSubscription
154
internal class SetStateSubscription :
StateMachineSubscription
21 references to StateMachineSubscription
System.Workflow.Activities (21)
StateMachineSubscriptionManager.cs (21)
23
private List<
StateMachineSubscription
> _eventQueue = new List<
StateMachineSubscription
>();
24
private Dictionary<IComparable,
StateMachineSubscription
> _subscriptions = new Dictionary<IComparable,
StateMachineSubscription
>();
34
private List<
StateMachineSubscription
> EventQueue
50
internal Dictionary<IComparable,
StateMachineSubscription
> Subscriptions
84
Dictionary<IComparable,
StateMachineSubscription
> subscriptions = this.GetSubscriptionsShallowCopy();
102
StateMachineSubscription
subscription;
178
private
StateMachineSubscription
SubscribeEventActivity(ActivityExecutionContext context,
274
private
StateMachineSubscription
GetSubscription(IComparable queueName)
276
StateMachineSubscription
subscription;
331
private Dictionary<IComparable,
StateMachineSubscription
> GetSubscriptionsShallowCopy()
333
Dictionary<IComparable,
StateMachineSubscription
> subscriptions = new Dictionary<IComparable,
StateMachineSubscription
>();
334
foreach (KeyValuePair<IComparable,
StateMachineSubscription
> dictionaryEntry in this.Subscriptions)
345
StateMachineSubscription
subscription = GetSubscription(subscriptionId);
357
StateMachineSubscription
subscription = GetSubscription(queueName);
367
internal
StateMachineSubscription
Dequeue()
369
StateMachineSubscription
subscription = this.EventQueue[0];
376
this.EventQueue.RemoveAll(delegate(
StateMachineSubscription
subscription) { return subscription.SubscriptionId.Equals(subscriptionId); });
388
StateMachineSubscription
subscription = Dequeue();