4 instantiations of EventDrivenActivity
System.Workflow.Activities (4)
Designers\ListenDesigner.cs (3)
34
listenActivity.Activities.Add(new
EventDrivenActivity
());
35
listenActivity.Activities.Add(new
EventDrivenActivity
());
58
return new
EventDrivenActivity
();
Designers\StateDesigner.cs (1)
1930
EventDrivenActivity eventDriven = new
EventDrivenActivity
();
91 references to EventDrivenActivity
System.Workflow.Activities (89)
Designers\EventHandlersDesigner.cs (1)
53
if (!(activity is
EventDrivenActivity
))
Designers\ListenDesigner.cs (1)
50
if (!(activity is
EventDrivenActivity
))
Designers\StateDesigner.cs (3)
772
validChildTypes.Add(typeof(
EventDrivenActivity
));
929
if (current is
EventDrivenActivity
||
1930
EventDrivenActivity
eventDriven = new EventDrivenActivity();
EventDriven.cs (4)
25
[ToolboxBitmap(typeof(
EventDrivenActivity
), "Resources.EventDriven.png")]
61
EventDrivenActivity
eventDriven = obj as
EventDrivenActivity
;
63
throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(
EventDrivenActivity
).FullName), "obj");
EventHandlers.cs (17)
101
EventDrivenActivity
childActivity = this.EnabledActivities[i] as
EventDrivenActivity
;
121
EventDrivenActivity
childActivity = this.EnabledActivities[i] as
EventDrivenActivity
;
168
EventDrivenActivity
eda = addedActivity as
EventDrivenActivity
;
186
EventDrivenActivity
eda = removedActivity as
EventDrivenActivity
;
248
EventDrivenActivity
eda = e.Activity as
EventDrivenActivity
;
302
EventDrivenActivity
eventDriven = handlers.EnabledActivities[i] as
EventDrivenActivity
;
330
EventDrivenActivity
evtDriven = handlers.EnabledActivities[i] as
EventDrivenActivity
;
353
internal
EventDrivenActivity
eventDrivenActivity;
355
internal EventHandlerEventActivitySubscriber(
EventDrivenActivity
eventDriven)
488
if (!(activity is
EventDrivenActivity
))
Listen.cs (16)
60
EventDrivenActivity
eventDriven = this.EnabledActivities[i] as
EventDrivenActivity
;
83
EventDrivenActivity
eventDriven = this.EnabledActivities[i] as
EventDrivenActivity
;
101
EventDrivenActivity
eventDrivenChild = this.EnabledActivities[i] as
EventDrivenActivity
;
134
Debug.Assert(addedActivity is
EventDrivenActivity
, "Listen only contains EventDriven activities");
140
EventDrivenActivity
eda = addedActivity as
EventDrivenActivity
;
157
EventDrivenActivity
eda = removedActivity as
EventDrivenActivity
;
243
internal
EventDrivenActivity
eventDrivenActivity;
245
internal ListenEventActivitySubscriber(
EventDrivenActivity
eventDriven)
274
EventDrivenActivity
eventDriven = parentActivity.EnabledActivities[i] as
EventDrivenActivity
;
307
if (!(activity is
EventDrivenActivity
))
SetState.cs (1)
189
return (activity is
EventDrivenActivity
|| activity is StateInitializationActivity);
SR.cs (6)
270
typeof(
EventDrivenActivity
).Name,
281
typeof(
EventDrivenActivity
).Name);
289
typeof(
EventDrivenActivity
).Name,
433
typeof(
EventDrivenActivity
).Name,
531
typeof(
EventDrivenActivity
).Name,
543
typeof(
EventDrivenActivity
).Name,
State.cs (4)
391
if (completedChildActivity is
EventDrivenActivity
)
432
internal static void ExecuteEventDriven(ActivityExecutionContext context,
EventDrivenActivity
eventDriven)
591
EventDrivenActivity
eventDriven = addedActivity as
EventDrivenActivity
;
StateMachineAction.cs (8)
154
EventDrivenActivity
eventDriven = (
EventDrivenActivity
)this.State.Activities[this.EventDrivenName];
182
EventDrivenActivity
eventDriven = (
EventDrivenActivity
)this.State.Activities[this.EventDrivenName];
210
EventDrivenActivity
eventDriven = (
EventDrivenActivity
)this.State.Activities[this.EventDrivenName];
262
EventDrivenActivity
eventDriven = activity as
EventDrivenActivity
;
StateMachineHelpers.cs (4)
240
static internal IEventActivity GetEventActivity(
EventDrivenActivity
eventDriven)
249
static internal
EventDrivenActivity
GetParentEventDriven(IEventActivity eventActivity)
254
EventDrivenActivity
eventDriven = activity as
EventDrivenActivity
;
StateMachineSubscription.cs (1)
121
EventDrivenActivity
eventDriven = StateMachineHelpers.GetParentEventDriven(eventActivity);
StateMachineSubscriptionManager.cs (10)
73
EventDrivenActivity
eventDriven = childActivity as
EventDrivenActivity
;
93
EventDrivenActivity
eventDriven = activity as
EventDrivenActivity
;
162
internal void SubscribeEventDriven(ActivityExecutionContext context,
EventDrivenActivity
eventDriven)
171
internal void UnsubscribeEventDriven(ActivityExecutionContext context,
EventDrivenActivity
eventDriven)
251
private bool IsEventDrivenSubscribed(
EventDrivenActivity
eventDriven)
297
EventDrivenActivity
eventDriven = activity as
EventDrivenActivity
;
303
internal static void ChangeEventDrivenQueueState(ActivityExecutionContext context,
EventDrivenActivity
eventDriven, bool enabled)
StateMachineWorkflowInstance.cs (1)
233
EventDrivenActivity
eventDriven = StateMachineHelpers.GetParentEventDriven(eventActivity);
StateValidator.cs (12)
124
EventDrivenActivity
removedEventDriven = remove.OriginalRemovedActivity as
EventDrivenActivity
;
177
if (activity is
EventDrivenActivity
||
206
if (activity is
EventDrivenActivity
||
318
List<
EventDrivenActivity
> eventDrivenList = new List<
EventDrivenActivity
>();
322
EventDrivenActivity
eventDriven = activity as
EventDrivenActivity
;
328
foreach (
EventDrivenActivity
eventDriven in eventDrivenList)
336
private static bool ValidateMultipleIEventActivity(
EventDrivenActivity
eventDriven, ValidationErrorCollection validationErrors)
347
private static bool ValidateMultipleIEventActivityInCompositeActivity(
EventDrivenActivity
eventDriven, IEventActivity firstEventActivity, CompositeActivity parent, ValidationErrorCollection validationErrors)
360
SR.GetString(SR.Error_EventDrivenMultipleEventActivity, eventDriven.Name, typeof(IEventActivity).FullName, typeof(
EventDrivenActivity
).Name),
System.Workflow.Runtime (1)
System\Activities\Statements\Interop.cs (1)
1314
else if (interopBodyType == typeof(System.Workflow.Activities.
EventDrivenActivity
))
System.WorkflowServices (1)
System\Workflow\Activities\ReceiveActivity.cs (1)
1306
if (this.parent != null && this.parent is
EventDrivenActivity
)