public MySqlFileConfigurationRepository(IOcelotCache <FileConfiguration> cache, ConfigAuthLimitCacheOptions option, IHostingEnvironment hostingEnvironment)
 {
     _cache              = cache;
     _option             = option;
     _hostingEnvironment = hostingEnvironment;
 }
예제 #2
0
 public SqlServerFileConfigurationRepository(ConfigAuthLimitCacheOptions option, IOcelotCache <FileConfiguration> cache, IOcelotLoggerFactory loggerFactory)
 {
     _option = option;
     _cache  = cache;
     _logger = loggerFactory.CreateLogger <SqlServerFileConfigurationRepository>();
 }