public HomeController(IOptions <ConfigServerDataAsOptions> options, IHealthContributor health) { _options = options.Value; _health = health; }
public HealthService(IHealthContributor health) { _health = health ?? throw new ArgumentNullException(nameof(health)); }