Class DefaultLifecycleProcessor
public class DefaultLifecycleProcessor : ILifecycleProcessor, IDisposable
- Inheritance
-
DefaultLifecycleProcessor
- Implements
- Inherited Members
Constructors
DefaultLifecycleProcessor(IApplicationContext, ILogger)
public DefaultLifecycleProcessor(IApplicationContext context, ILogger logger = null)
Parameters
context
IApplicationContextlogger
ILogger
Properties
IsRunning
Gets a value indicating whether gets a value indicating if its running
public bool IsRunning { get; set; }
Property Value
TimeoutPerShutdownPhase
public int TimeoutPerShutdownPhase { get; set; }
Property Value
Methods
Dispose()
public void Dispose()
OnClose()
Call to shutdown the lifecycle processor
public Task OnClose()
Returns
- Task
a task to signal completion
OnRefresh()
Call to refresh the lifecycle processor
public Task OnRefresh()
Returns
- Task
a task to signal completion
Start()
Start this component
public Task Start()
Returns
- Task
a task to signal completion
Stop()
Stop this component
public Task Stop()
Returns
- Task
a task to signal completion