Interface ILifecycle
A common interface defining methods for start/stop lifecycle control
public interface ILifecycle
Properties
IsRunning
Gets a value indicating whether gets a value indicating if its running
bool IsRunning { get; }
Property Value
Methods
Start()
Start this component
Task Start()
Returns
- Task
a task to signal completion
Stop()
Stop this component
Task Stop()
Returns
- Task
a task to signal completion