public MonitorHealthCheckBackgrounService( IOptionsMonitor <ServiceOptions> options, IMonitoHeartBeatChannel channel, ILogger <MonitorHealthCheckBackgrounService> logger, MonitorService.MonitorServiceClient client) { _options = options; _channel = channel; _logger = logger; _client = client; }
public ClientServiceContext( IOptionsMonitor <ServiceOptions> serviceOptions, IOptionsMonitor <MonitorOptions> monitorOptions, IOptionsMonitor <LoggerOptions> loggerOptions, ILogCollectorChannel logCollectorChannel, IMonitoHeartBeatChannel monitoHeartBeatChannel, MonitorService.MonitorServiceClient monitorServiceClient) { _serviceOptions = serviceOptions; _monitorOptions = monitorOptions; _loggerOptions = loggerOptions; _logCollectorChannel = logCollectorChannel; _monitoHeartBeatChannel = monitoHeartBeatChannel; _monitorServiceClient = monitorServiceClient; }