Пример #1
0
 public OptionConfigLoader(SmartSqlDbConfigOptions smartSqlOptions, ILoggerFactory loggerFactory)
 {
     _options           = smartSqlOptions;
     _logger            = loggerFactory.CreateLogger <OptionConfigLoader>();
     _fileWatcherLoader = new FileWatcherLoader();
 }
Пример #2
0
 public LocalFileConfigLoader(String sqlMapConfigFilePath, ILoggerFactory loggerFactory)
 {
     _logger = loggerFactory.CreateLogger <LocalFileConfigLoader>();
     _sqlMapConfigFilePath = sqlMapConfigFilePath;
     _fileWatcherLoader    = new FileWatcherLoader();
 }