5 writes to state
System.Activities (5)
System\Activities\WorkflowApplication.cs (5)
807
this.
state
= WorkflowApplicationState.Aborted;
1355
this.
state
= WorkflowApplicationState.Runnable;
2376
this.
state
= WorkflowApplicationState.Paused;
2752
this.
state
= WorkflowApplicationState.Unloaded;
3902
this.instance.
state
= WorkflowApplicationState.Paused;
17 references to state
System.Activities (17)
System\Activities\WorkflowApplication.cs (17)
122
Fx.Assert(this.
state
== WorkflowApplicationState.Paused, "We always start out paused (the default)");
322
return this.
state
== WorkflowApplicationState.Unloaded || this.
state
== WorkflowApplicationState.Aborted;
645
WorkflowApplicationState localApplicationState = this.
state
;
785
if (this.
state
!= WorkflowApplicationState.Aborted)
1108
if (!this.hasRaisedCompleted && this.
state
!= WorkflowApplicationState.Unloaded)
1897
if (this.
state
== WorkflowApplicationState.Aborted)
2352
if (this.
state
== WorkflowApplicationState.Aborted)
2525
else if (this.
state
== WorkflowApplicationState.Unloaded || this.
state
== WorkflowApplicationState.Aborted)
2822
if (this.
state
!= WorkflowApplicationState.Unloaded) // Unload on unload is a no-op
2903
if (this.
state
== WorkflowApplicationState.Aborted)
2928
if (this.
state
== WorkflowApplicationState.Unloaded)
3533
alreadyUnloaded = this.instance.
state
== WorkflowApplicationState.Unloaded;
3783
if (this.instance.
state
== WorkflowApplicationState.Aborted)
4596
if (this.application.
state
== WorkflowApplicationState.Aborted)
5459
if (requiresRunnableInstance && instance.
state
!= WorkflowApplicationState.Runnable)