9 references to SynchronousListeners
System.Workflow.Runtime (9)
EventQueueState.cs (1)
73
this.synchronousListeners.AddRange(copyFromState.
SynchronousListeners
.ToArray());
WorkflowQueue.cs (4)
106
qService.GetQueueState(this.queueName).
SynchronousListeners
.Add(new ActivityExecutorDelegateInfo<QueueEventArgs>(value, qService.CallingActivity));
116
qService.GetQueueState(this.queueName).
SynchronousListeners
.Remove(new ActivityExecutorDelegateInfo<QueueEventArgs>(value, qService.CallingActivity));
127
qService.GetQueueState(this.queueName).
SynchronousListeners
.Add(new ActivityExecutorDelegateInfo<QueueEventArgs>(eventListener, qService.CallingActivity));
137
qService.GetQueueState(this.queueName).
SynchronousListeners
.Remove(new ActivityExecutorDelegateInfo<QueueEventArgs>(eventListener, qService.CallingActivity));
WorkflowQueuingService.cs (4)
518
for (int i = 0; i < qState.
SynchronousListeners
.Count; ++i)
520
if (qState.
SynchronousListeners
[i].HandlerDelegate != null)
521
qState.
SynchronousListeners
[i].HandlerDelegate(new WorkflowQueue(this, queueName), args);
523
qState.
SynchronousListeners
[i].EventListener.OnEvent(new WorkflowQueue(this, queueName), args);