コード例 #1
0
 public OptionInput(TimeoutOption timeoutOption, MonitorOption monitorOption, CityListReader cityListReader)
 {
     this.timeoutOption  = timeoutOption;
     this.monitorOption  = monitorOption;
     this.cityListReader = cityListReader;
     cityListReader.Read();
 }
コード例 #2
0
 public BackgroundMonitor(ILoggerFactory loggerFactory, IOutput output, IEnumerable <ISourceReader> sourceReaders, TimeoutOption timeoutOption, IOptionInput input)
 {
     this.logger        = loggerFactory.CreateLogger <BackgroundMonitor>();
     this.output        = output;
     this.sourceReaders = sourceReaders;
     this.timeoutOption = timeoutOption;
     this.input         = input;
 }