コード例 #1
0
 public HomeController(IOptions <ConfigServerDataAsOptions> options, IHealthContributor health)
 {
     _options = options.Value;
     _health  = health;
 }
コード例 #2
0
 public HealthService(IHealthContributor health)
 {
     _health = health ?? throw new ArgumentNullException(nameof(health));
 }