3 writes to ActivityState
System.Workflow.Activities (3)
EventHandlers.cs (3)
97
this.
ActivityState
= eventActivitySubscribers;
152
this.
ActivityState
= null;
340
handlers.
ActivityState
= null;
14 references to ActivityState
System.Workflow.Activities (14)
EventHandlers.cs (14)
113
if (this.
ActivityState
== null)
122
EventHandlerEventActivitySubscriber eventActivitySubscriber = this.
ActivityState
[i] as EventHandlerEventActivitySubscriber;
173
if (activity.ExecutionStatus == ActivityExecutionStatus.Executing && activity.
ActivityState
!= null && !activity.IsScopeCompleted)
176
activity.
ActivityState
.Insert(activity.EnabledActivities.IndexOf(addedActivity), eventActivitySubscriber);
191
if (activity.ExecutionStatus == ActivityExecutionStatus.Executing && activity.
ActivityState
!= null && !activity.IsScopeCompleted)
193
for (int i = 0; i < activity.
ActivityState
.Count; ++i)
195
EventHandlerEventActivitySubscriber eventSubscriber = activity.
ActivityState
[i];
199
activity.
ActivityState
.RemoveAt(i);
213
if (this.
ActivityState
!= null)
263
EventHandlerEventActivitySubscriber eventActivitySubscriber = eventHandlers.
ActivityState
[i];
303
if (contextManager.GetExecutionContext(eventDriven) != null || (handlers.
ActivityState
!= null && handlers.
ActivityState
[i].PendingExecutionCount > 0))
331
EventHandlerEventActivitySubscriber eventSubscriber = handlers.
ActivityState
[i];
334
if (contextManager.GetExecutionContext(evtDriven) != null || handlers.
ActivityState
[i].PendingExecutionCount != 0)