comparison Implab/Components/IRunnable.cs @ 256:c52691faaf21 v3

Removed obsolete App, ComponentContainer Extracted IAsyncComponent interface Working on RunnableComponent
author cin
date Wed, 11 Apr 2018 03:05:14 +0300
parents 7c7e9ad6fe4a
children f1696cdc3d7a
comparison
equal deleted inserted replaced
255:b00441e04738 256:c52691faaf21
32 /// performed only if the component in the running state. 32 /// performed only if the component in the running state.
33 /// </remarks> 33 /// </remarks>
34 void Stop(CancellationToken ct); 34 void Stop(CancellationToken ct);
35 35
36 /// <summary> 36 /// <summary>
37 /// The result of the last started operation. This property reflects 37 /// Current state of the componenet, dynamically reflects the current state.
38 /// only the result of the last started operation and therefore should
39 /// change only if a new operation is initiated.
40 /// </summary>
41 Task Completion { get; }
42
43 /// <summary>
44 /// Current state of the componenet
45 /// </summary> 38 /// </summary>
46 ExecutionState State { get; } 39 ExecutionState State { get; }
47 40
48 /// <summary> 41 /// <summary>
49 /// Event to monitor the state of the component. 42 /// Event to monitor the state of the component.