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