Пример #1
0
        public Startup(IConfiguration configuration)
        {
            Configuration = configuration;

            ServiceCheckerConfig config = ServiceCheckerFactory.CreateConfigMaster().LoadFromYaml("../config/config.yaml");

            _historyLoader = ComponentFactory.CreateHistoryLoader(config.HistoryLoader);
        }
Пример #2
0
 public HistoryController(IHistoryLoader historyLoader)
 {
     _historyLoader = historyLoader;
 }
Пример #3
0
 public HistoryController(IHistoryLoader historyLoader)
 {
     _historyLoader = historyLoader;
 }
 public ServiceCheckerController(IHistoryLoader historyLoader)
 {
     _historyLoader = historyLoader;
 }