Example #1
0
 public CookieCulturePickerDriver(IOrchardServices orchardServices
                                  , ICultureService cultureService
                                  , IHomePageService homePageService
                                  , IBrowserCultureService browserCultureService
                                  , ICookieCultureService cookieCultureService)
 {
     _orchardServices       = orchardServices;
     _cultureService        = cultureService;
     _homePageService       = homePageService;
     _browserCultureService = browserCultureService;
     _cookieCultureService  = cookieCultureService;
 }
Example #2
0
 public UserCultureService(IWorkContextAccessor workContextAccessor
                           , ICacheManager cacheManager
                           , IBrowserCultureService browserCultureService
                           , IProfileProviderEventHandler profileHandlers
                           , IAuthenticationService authenticationService
                           , ISignals signals)
 {
     _workContextAccessor   = workContextAccessor;
     _cacheManager          = cacheManager;
     _signals               = signals;
     _authenticationService = authenticationService;
     _profileHandlers       = profileHandlers;
     _browserCultureService = browserCultureService;
 }
Example #3
0
 public CultureService(IWorkContextAccessor workContextAccessor
                       , ICacheManager cacheManager
                       , ISignals signals
                       , IOrchardServices orchardServices
                       , IBrowserCultureService browserCultureService
                       , Lazy <IHomePageService> homePageService
                       , Lazy <ICultureManager> lazyCultureManager
                       , ILocalizationService localizationService)
 {
     _orchardServices       = orchardServices;
     _lazyCultureManager    = lazyCultureManager;
     _localizationService   = localizationService;
     _homePageService       = homePageService;
     _browserCultureService = browserCultureService;
     _cacheManager          = cacheManager;
     _signals = signals;
 }
Example #4
0
 public BrowserCultureSelector(IBrowserCultureService browserCultureService)
 {
     _browserCultureService = browserCultureService;
 }