Exemplo n.º 1
0
 /// <summary>
 /// HealthController constructor
 /// </summary>
 public HealthController(IMemoryCache cache, ILogger <HealthController> logger, HealthCheckServiceConfiguration config)
 {
     this.cache  = cache;
     this.logger = logger;
     this.config = config;
 }
Exemplo n.º 2
0
 public HealthCheck(HealthCheckServiceConfiguration config, List <Check> checks, BuildModel build, IMemoryCache cache, ILogger <Check> logger, IAvailabilityRecorder recorder) : base(cache, logger, recorder)
 {
     this.build  = build;
     this.checks = checks;
     this.config = config;
 }