public DatabaseStringLocalizerFactory(LocalizationInMemoryCacheProvider cacheProvider)
 {
     _cacheProvider = cacheProvider;
 }
 public NetCoreStackLanguageSelectorScripts(IHtmlHelper helper, LocalizationInMemoryCacheProvider cacheProvider)
 {
     _helper = helper;
 }
 public DatabaseStringLocalizer(LocalizationInMemoryCacheProvider cacheProvider, IOptions <LocalizationSettings> localizationSettings)
 {
     _cacheProvider        = cacheProvider;
     _localizationSettings = localizationSettings.Value;
 }
 public NetCoreStackLanguageJavaScriptRegistrar(IHtmlHelper helper, LocalizationInMemoryCacheProvider cacheProvider, IStringLocalizer stringLocalizer)
 {
     _helper          = helper;
     _cacheProvider   = cacheProvider;
     _stringLocalizer = stringLocalizer;
 }
예제 #5
0
 public NetCoreStackLocalizationController(ISqlUnitOfWork sqlUnitOfWork, LocalizationInMemoryCacheProvider cacheProvider)
 {
     _sqlUnitOfWork = sqlUnitOfWork;
     _cacheProvider = cacheProvider;
 }