Host constructor
Host(
- ServiceProvider services,
- HostApplicationLifetime applicationLifetime,
- Logger logger,
- HostLifetime hostLifetime,
- Options<
HostOptions> options,
Implementation
Host(
ServiceProvider services,
HostApplicationLifetime applicationLifetime,
Logger logger,
HostLifetime hostLifetime,
Options<HostOptions> options,
) : _services = services,
_applicationLifetime = applicationLifetime as ApplicationLifetime,
_logger = logger,
_hostLifetime = hostLifetime,
_options = options.value!;