public AspNetCoreAppSession(IHttpContextAccessor httpContextAccessor, IOptions <IdentityOptions> options, ICurrentLanguage currentLanguage, ICurrentConnectionStringNameProvider currentConnectionStringNameProvider) { _httpContextAccessor = httpContextAccessor; _options = options; _currentLanguage = currentLanguage; _currentConnectionStringNameProvider = currentConnectionStringNameProvider; }
public LanguageController(ICurrentLanguage currentLanguage, ILanguageSource languageSource) { _currentLanguage = currentLanguage; _languageSource = languageSource; Contract.Ensures(_currentLanguage != null); Contract.Ensures(_languageSource != null); }
public DefaultLocalizationManager(ILanguageManager languageManager, ICurrentLanguage currentLanguage) { _languageManager = languageManager; _currentLanguage = currentLanguage; }
public void ChangeLanguage(ICurrentLanguage language) { Language = language; }
public CommonDI(IDeviceUtility deviceUtility, ILog log, ICurrentLanguage language) { DeviceUtility = deviceUtility; Log = log; Language = language; }