public LifetimeManager(IOptions<LifetimeOptions> options, ILogger<LifetimeManager> logger) { _options = options.Value; _logger = logger; }