annotate Implab/Components/ExecutionState.cs @ 262:f1696cdc3d7a v3 v3.0.8

Added IInitializable.Initialize() overload Added IRunnable.Start(), IRunnable.Start() overloads Fixed cancellation of the current operation when Stop() is called More tests
author cin
date Mon, 16 Apr 2018 02:12:39 +0300
parents 7c7e9ad6fe4a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
152
240aa6994018 component model refactoring
cin
parents:
diff changeset
1 namespace Implab.Components {
154
cin
parents: 152
diff changeset
2
152
240aa6994018 component model refactoring
cin
parents:
diff changeset
3 public enum ExecutionState {
184
d6a8cba73acc working on runnable component
cin
parents: 156
diff changeset
4 Undefined = 0,
d6a8cba73acc working on runnable component
cin
parents: 156
diff changeset
5
d6a8cba73acc working on runnable component
cin
parents: 156
diff changeset
6 Created,
d6a8cba73acc working on runnable component
cin
parents: 156
diff changeset
7
d6a8cba73acc working on runnable component
cin
parents: 156
diff changeset
8 Initializing,
d6a8cba73acc working on runnable component
cin
parents: 156
diff changeset
9
156
97fbbf816844 Promises: SignalXXX methods merged into SignalHandler method.
cin
parents: 154
diff changeset
10 Ready,
184
d6a8cba73acc working on runnable component
cin
parents: 156
diff changeset
11
152
240aa6994018 component model refactoring
cin
parents:
diff changeset
12 Starting,
184
d6a8cba73acc working on runnable component
cin
parents: 156
diff changeset
13
152
240aa6994018 component model refactoring
cin
parents:
diff changeset
14 Running,
184
d6a8cba73acc working on runnable component
cin
parents: 156
diff changeset
15
152
240aa6994018 component model refactoring
cin
parents:
diff changeset
16 Stopping,
184
d6a8cba73acc working on runnable component
cin
parents: 156
diff changeset
17
251
7c7e9ad6fe4a Prerelease version of RunnableComponent
cin
parents: 250
diff changeset
18 Stopped,
7c7e9ad6fe4a Prerelease version of RunnableComponent
cin
parents: 250
diff changeset
19
184
d6a8cba73acc working on runnable component
cin
parents: 156
diff changeset
20 Failed,
d6a8cba73acc working on runnable component
cin
parents: 156
diff changeset
21
152
240aa6994018 component model refactoring
cin
parents:
diff changeset
22 Disposed,
184
d6a8cba73acc working on runnable component
cin
parents: 156
diff changeset
23
d6a8cba73acc working on runnable component
cin
parents: 156
diff changeset
24 Last = Disposed
152
240aa6994018 component model refactoring
cin
parents:
diff changeset
25 }
240aa6994018 component model refactoring
cin
parents:
diff changeset
26 }