コード例 #1
0
        public HealthMonitoringProcessorTests()
        {
            appRegistryService   = A.Fake <IAppRegistryService>();
            healthCheckerService = A.Fake <IHealthCheckerService>();
            logger = A.Fake <ILogger <HealthMonitoringProcessor> >();

            healthMonitoringProcessor = new HealthMonitoringProcessor(appRegistryService, healthCheckerService, logger);
        }
コード例 #2
0
 public HealthMonitorTimerTrigger(ILogger <HealthMonitorTimerTrigger> logger, IHealthMonitoringProcessor healthMonitoringProcessor)
 {
     this.logger = logger;
     this.healthMonitoringProcessor = healthMonitoringProcessor;
 }