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