Interface ISmartLifecycle
An extension of the Lifecycle interface that provides auto startup and a call back stop action
public interface ISmartLifecycle : ILifecycle, IPhased
- Inherited Members
Properties
IsAutoStartup
Gets a value indicating whether the auto startup is set for this object
bool IsAutoStartup { get; }
Property Value
Methods
Stop(Action)
Stop the component and issue the callback when complete
Task Stop(Action callback)
Parameters
callback
Actionthe callback action to invoke when complete
Returns
- Task
a task for completion