API Reference โ Invex.Extensions.Hosting
Assembly: Invex.Extensions.Hosting ยท Package: Invex.Extensions.Hosting
The public API surface consists of exactly four types. It is locked by snapshot tests
(PublicApiTests in the test project), so changes here are always deliberate.
Namespaces and types
Invex.Extensions.Hosting
| Type | Kind | Description |
|---|---|---|
ServiceCollectionExtensions |
static class | AddSingleton/AddScoped/AddHostedService overloads that register one implementation under multiple service types sharing a single instance. |
Invex.Extensions.Hosting.Control
| Type | Kind | Description |
|---|---|---|
IHostControl |
interface | Extends IHostApplicationLifetime with StopApplication(int exitCode). |
HostControlHostExtensions |
static class | AddHostControl() registration extension. |
Invex.Extensions.Hosting.Service
| Type | Kind | Description |
|---|---|---|
CycleBackgroundService |
abstract class | BackgroundService base class that runs work on a fixed, drift-free cadence. |
Conceptual documentation
For task-oriented guides, see the docs/ directory: