31 references to Activity
System.Workflow.Activities (18)
ConstrainedGroup.cs (5)
522
Debug.Assert(cag == args1.
Activity
.Parent, "Received event for non-child of CAG");
527
if (childrenStats.ContainsKey(args1.
Activity
.QualifiedName))
531
childrenStats[args1.
Activity
.QualifiedName].State = CAGChildState.Idle;
535
childrenStats[args1.
Activity
.QualifiedName].ExecutedCount++;
548
CleanupChildAtClosure(context, args1.
Activity
);
EventHandlers.cs (2)
248
EventDrivenActivity eda = e.
Activity
as EventDrivenActivity;
251
e.
Activity
.UnregisterForStatusChange(Activity.ClosedEvent, this);
EventHandlingScope.cs (2)
110
e.
Activity
.UnregisterForStatusChange(Activity.ClosedEvent, this);
111
if (e.
Activity
is EventHandlersActivity)
Listen.cs (1)
234
e.
Activity
.UnregisterForStatusChange(Activity.ClosedEvent, this);
Parallel.cs (1)
156
e.
Activity
.UnregisterForStatusChange(Activity.ClosedEvent, this);
Sequence.cs (1)
118
e.
Activity
.UnregisterForStatusChange(Activity.ClosedEvent, this);
State.cs (1)
376
Activity completedChildActivity = eventArgs.
Activity
;
Task.cs (3)
571
base.RaiseGenericEvent(ReplicatorActivity.ChildCompletedEvent, this, new ReplicatorChildEventArgs(childStateInfo.InstanceData, e.
Activity
));
572
e.
Activity
.UnregisterForStatusChange(Activity.ClosedEvent, subscriber);
577
ActivityExecutionContext templateExecutionContext = contextManager.GetExecutionContext(e.
Activity
);
While.cs (2)
150
e.
Activity
.UnregisterForStatusChange(Activity.ClosedEvent, this);
152
contextManager.CompleteExecutionContext(contextManager.GetExecutionContext(e.
Activity
));
System.Workflow.ComponentModel (13)
AuthoringOM\ActivityExecutorDelegateInfo.cs (1)
307
if (activityStatusChangeEventArgs.
Activity
== null)
AuthoringOM\Behaviors\Compensate.cs (1)
84
e.
Activity
.UnregisterForStatusChange(Activity.ClosedEvent, this);
AuthoringOM\Behaviors\ExceptionHandlers.cs (1)
107
e.
Activity
.UnregisterForStatusChange(Activity.ClosedEvent, this);
AuthoringOM\Filters\CompensationHandlingFilter.cs (4)
34
if (e.
Activity
== context.Activity)
68
else if (e.
Activity
is CompensationHandlerActivity && e.ExecutionStatus == ActivityExecutionStatus.Closed)
71
e.
Activity
.UnregisterForStatusChange(Activity.ClosedEvent, this);
79
e.
Activity
.UnregisterForStatusChange(Activity.ClosedEvent, this);
AuthoringOM\Filters\FaultHandlingFilter.cs (5)
73
if (e.
Activity
== context.Activity)
122
else if ((e.
Activity
is FaultHandlersActivity || e.
Activity
is CancellationHandlerActivity)
128
e.
Activity
.UnregisterForStatusChange(Activity.ClosedEvent, this);
144
e.
Activity
.UnregisterForStatusChange(Activity.ClosedEvent, this);
AuthoringOM\Sequence.cs (1)
68
e.
Activity
.UnregisterForStatusChange(Activity.ClosedEvent, (IActivityEventListener<ActivityExecutionStatusChangedEventArgs>)activity);