/// <summary> /// Ctor /// </summary> /// <param name="genericAttributeService">Generic attribute service</param> /// <param name="httpContextAccessor">HTTP context accessor</param> /// <param name="storeService">Store service</param> public HostedSiteContext(IGenericAttributeService genericAttributeService, IHttpContextAccessor httpContextAccessor, IHostedSiteService hostedSiteService) { _genericAttributeService = genericAttributeService; _httpContextAccessor = httpContextAccessor; _hostedSiteService = hostedSiteService; }
/// <summary> /// Ctor /// </summary> /// <param name="httpContextAccessor">HTTP context accessor</param> /// <param name="authenticationService">Authentication service</param> /// <param name="customerService">Customer service</param> /// <param name="hostedSiteService"></param> /// <param name="languageService"></param> /// <param name="localizationSettings"></param> public WebWorkContext(IHttpContextAccessor httpContextAccessor, IAuthenticationService authenticationService, ICustomerService customerService, IHostedSiteService hostedSiteService, ILanguageService languageService, LocalizationSettings localizationSettings) { _httpContextAccessor = httpContextAccessor; _authenticationService = authenticationService; _customerService = customerService; _hostedSiteService = hostedSiteService; _localizationSettings = localizationSettings; _languageService = languageService; }