2 writes to ActivityState
System.Workflow.Activities (2)
Listen.cs (2)
55
this.
ActivityState
= eventActivitySubscribers;
112
this.
ActivityState
= null;
10 references to ActivityState
System.Workflow.Activities (10)
Listen.cs (10)
73
if (this.
ActivityState
== null)
99
for (int i = 0; i < this.
ActivityState
.Count; ++i)
102
ListenEventActivitySubscriber eventActivitySubscriber = this.
ActivityState
[i];
138
if (listen.ExecutionStatus == ActivityExecutionStatus.Executing && listen.
ActivityState
!= null && !listen.IsListenTrigerred)
143
listen.
ActivityState
.Insert(listen.EnabledActivities.IndexOf(addedActivity), eventActivitySubscriber);
155
if (listen.ExecutionStatus == ActivityExecutionStatus.Executing && listen.
ActivityState
!= null && !listen.IsListenTrigerred)
159
for (int i = 0; i < listen.
ActivityState
.Count; ++i)
161
ListenEventActivitySubscriber listenEventSubscriber = listen.
ActivityState
[i];
166
listen.
ActivityState
.RemoveAt(i);
275
ListenEventActivitySubscriber eventSubscriber = parentActivity.
ActivityState
[i];