Sparkle.Host.Contracts Namespace
Classes
| Name | Description |
|---|---|
| THostedWorker | Base class for something with a loop of its own -- a job runner, a poller, a scheduler. |
| TStopToken | The stop token the host hands to a worker. Public so that a test can drive a worker without a host. |
Records
| Name | Description |
|---|---|
| THostServiceOptions | Identity of the process when it runs as a Windows service. |
Interfaces
| Name | Description |
|---|---|
| IHostBuilder | Collects what the process hosts, then runs it. |
| IHostedService | Something the host starts and stops. |
| IStopToken | Tells a worker that it should wind down. |
Class References
| Name | Description |
|---|---|
| THostedWorkerClass | A class reference to a THostedWorker class or descendant. |