Ejemplo n.º 1
0
 public WebWorkContext(HttpContextBase httpContext,
                       ICustomerService customerService,
                       IVendorService vendorService,
                       IStoreContext storeContext,
                       IAuthenticationService authenticationService,
                       ILanguageService languageService,
                       ICurrencyService currencyService,
                       IGenericAttributeService genericAttributeService,
                       TaxSettings taxSettings,
                       CurrencySettings currencySettings,
                       LocalizationSettings localizationSettings,
                       IUserAgentHelper userAgentHelper,
                       IStoreMappingService storeMappingService,
                       INhaXeService nhaxeService,
                       INhanVienService nhanvienService
                       )
 {
     this._nhanvienService         = nhanvienService;
     this._nhaxeService            = nhaxeService;
     this._httpContext             = httpContext;
     this._customerService         = customerService;
     this._vendorService           = vendorService;
     this._storeContext            = storeContext;
     this._authenticationService   = authenticationService;
     this._languageService         = languageService;
     this._currencyService         = currencyService;
     this._genericAttributeService = genericAttributeService;
     this._taxSettings             = taxSettings;
     this._currencySettings        = currencySettings;
     this._localizationSettings    = localizationSettings;
     this._userAgentHelper         = userAgentHelper;
     this._storeMappingService     = storeMappingService;
 }
Ejemplo n.º 2
0
 public WebWorkContext(
     HttpContextBase httpContext,
     LocalizationSettings localizationSettings,
     ILanguageService languageService,
     IStoreMappingService storeMappingService,
     ICustomerService customerService,
     IUserAgentHelper userAgentHelper,
     IAuthenticationService authenticationService,
     IGenericAttributeService genericAttributeService,
     ICurrencyService currencyService,
     CurrencySettings currencySettings,
     IStoreContext storeContext)
 {
     this._httpContext             = httpContext;
     this._localizationSettings    = localizationSettings;
     this._languageService         = languageService;
     this._storeMappingService     = storeMappingService;
     this._customerService         = customerService;
     this._userAgentHelper         = userAgentHelper;
     this._authenticationService   = authenticationService;
     this._genericAttributeService = genericAttributeService;
     this._currencyService         = currencyService;
     this._currencySettings        = currencySettings;
     this._storeContext            = storeContext;
 }
Ejemplo n.º 3
0
 public WebWorkContext(CookieSettings cookieSettings,
                       CurrencySettings currencySettings,
                       IAuthenticationService authenticationService,
                       ICurrencyService currencyService,
                       ICustomerService customerService,
                       IGenericAttributeService genericAttributeService,
                       IHttpContextAccessor httpContextAccessor,
                       ILanguageService languageService,
                       IStoreContext storeContext,
                       IStoreMappingService storeMappingService,
                       IUserAgentHelper userAgentHelper,
                       IVendorService vendorService,
                       IWebHelper webHelper,
                       LocalizationSettings localizationSettings,
                       TaxSettings taxSettings)
 {
     _cookieSettings          = cookieSettings;
     _currencySettings        = currencySettings;
     _authenticationService   = authenticationService;
     _currencyService         = currencyService;
     _customerService         = customerService;
     _genericAttributeService = genericAttributeService;
     _httpContextAccessor     = httpContextAccessor;
     _languageService         = languageService;
     _storeContext            = storeContext;
     _storeMappingService     = storeMappingService;
     _userAgentHelper         = userAgentHelper;
     _vendorService           = vendorService;
     _webHelper            = webHelper;
     _localizationSettings = localizationSettings;
     _taxSettings          = taxSettings;
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="httpContextAccessor">HTTP context accessor</param>
 /// <param name="currencySettings">Currency settings</param>
 /// <param name="authenticationService">Authentication service</param>
 /// <param name="currencyService">Currency service</param>
 /// <param name="customerService">Customer service</param>
 /// <param name="genericAttributeService">Generic attribute service</param>
 /// <param name="languageService">Language service</param>
 /// <param name="storeContext">Store context</param>
 /// <param name="storeMappingService">Store mapping service</param>
 /// <param name="userAgentHelper">User gent helper</param>
 /// <param name="vendorService">Vendor service</param>
 /// <param name="localizationSettings">Localization settings</param>
 /// <param name="taxSettings">Tax settings</param>
 public WebWorkContext(IHttpContextAccessor httpContextAccessor,
                       CurrencySettings currencySettings,
                       IAuthenticationService authenticationService,
                       ICurrencyService currencyService,
                       ICustomerService customerService,
                       IGenericAttributeService genericAttributeService,
                       ILanguageService languageService,
                       IStoreContext storeContext,
                       IStoreMappingService storeMappingService,
                       IUserAgentHelper userAgentHelper,
                       IVendorService vendorService,
                       LocalizationSettings localizationSettings,
                       TaxSettings taxSettings)
 {
     this._httpContextAccessor     = httpContextAccessor;
     this._currencySettings        = currencySettings;
     this._authenticationService   = authenticationService;
     this._currencyService         = currencyService;
     this._customerService         = customerService;
     this._genericAttributeService = genericAttributeService;
     this._languageService         = languageService;
     this._storeContext            = storeContext;
     this._storeMappingService     = storeMappingService;
     this._userAgentHelper         = userAgentHelper;
     this._vendorService           = vendorService;
     this._localizationSettings    = localizationSettings;
     this._taxSettings             = taxSettings;
 }
Ejemplo n.º 5
0
 public WebWorkContext(HttpContextBase httpContext,
     ICustomerService customerService,
     IVendorService vendorService,
     IStoreContext storeContext,
     IAuthenticationService authenticationService,
     ILanguageService languageService,
     ICurrencyService currencyService,
     IGenericAttributeService genericAttributeService,
     TaxSettings taxSettings, 
     CurrencySettings currencySettings,
     LocalizationSettings localizationSettings,
     IUserAgentHelper userAgentHelper,
     IStoreMappingService storeMappingService)
 {
     this._httpContext = httpContext;
     this._customerService = customerService;
     this._vendorService = vendorService;
     this._storeContext = storeContext;
     this._authenticationService = authenticationService;
     this._languageService = languageService;
     this._currencyService = currencyService;
     this._genericAttributeService = genericAttributeService;
     this._taxSettings = taxSettings;
     this._currencySettings = currencySettings;
     this._localizationSettings = localizationSettings;
     this._userAgentHelper = userAgentHelper;
     this._storeMappingService = storeMappingService;
 }
Ejemplo n.º 6
0
 public AuthenticateController(IWebApiCaller webApiCaller, ICookieHelper cookieHelper, IUserAgentHelper userAgentHelper, ISecurityHelper securityHelper, IConfiguration configuration)
 {
     WebApiCaller    = webApiCaller;
     CookieHelper    = cookieHelper;
     SecurityHelper  = securityHelper;
     UserAgentHelper = userAgentHelper;
     Configuration   = configuration;
 }
Ejemplo n.º 7
0
 public WebWorkContext(HttpContextBase httpContext, IUserService userService, IUserAgentHelper userAgentHelper,
     IAuthenticationService authenticationService, User cachedUser)
 {
     _httpContext = httpContext;
     _userService = userService;
     _userAgentHelper = userAgentHelper;
     _authenticationService = authenticationService;
     _cachedUser = cachedUser;
 }
Ejemplo n.º 8
0
 public WebWorkContext(HttpContextBase httpContext,
                       ICustomerService customerService,
                       IAuthenticationService authenticationService,
                       IUserAgentHelper userAgentHelper)
 {
     this._httpContext           = httpContext;
     this._customerService       = customerService;
     this._authenticationService = authenticationService;
     this._userAgentHelper       = userAgentHelper;
 }
Ejemplo n.º 9
0
 public WebWorkContext(HttpContextBase httpContext, ICustomerService customerService, IAuthenticationService authenticationService, ILanguageService languageService, IGenericAttributeService genericAttributeService, IUserAgentHelper userAgentHelper, LocalizationSettings localizationSettings)
 {
     _httpContext             = httpContext;
     _customerService         = customerService;
     _authenticationService   = authenticationService;
     _languageService         = languageService;
     _genericAttributeService = genericAttributeService;
     _userAgentHelper         = userAgentHelper;
     _localizationSettings    = localizationSettings;
 }
Ejemplo n.º 10
0
 public WebWorkContext(HttpContextBase httpContext,
     ICustomerService customerService,
     IUserAgentHelper userAgentHelper,
     IAuthenticationService authenticationService
    )
 {
     this._httpContext = httpContext;
     this._customerService = customerService;
     this._userAgentHelper = userAgentHelper;
     this._authenticationService = authenticationService;
 }
Ejemplo n.º 11
0
 public WebWorkContext(IAuthenticationService authenticationService,
                       IUserService userService,
                       IHttpContextAccessor httpContextAccessor,
                       IUserAgentHelper userAgentHelper,
                       IResearcherService researcherService)
 {
     this._authenticationService = authenticationService;
     this._userService           = userService;
     this._httpContextAccessor   = httpContextAccessor;
     this._userAgentHelper       = userAgentHelper;
     this._researcherService     = researcherService;
 }
Ejemplo n.º 12
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="httpContextAccessor">HTTP context accessor</param>
 /// <param name="currencySettings">Currency settings</param>
 /// <param name="authenticationService">Authentication service</param>
 /// <param name="currencyService">Currency service</param>
 /// <param name="userService">User service</param>
 /// <param name="genericAttributeService">Generic attribute service</param>
 /// <param name="languageService">Language service</param>
 /// <param name="siteContext">Site context</param>
 /// <param name="siteMappingService">Site mapping service</param>
 /// <param name="userAgentHelper">User gent helper</param>
 /// <param name="vendorService">Vendor service</param>
 /// <param name="localizationSettings">Localization settings</param>
 /// <param name="taxSettings">Tax settings</param>
 public WebWorkContext(IHttpContextAccessor httpContextAccessor,
                       IAuthenticationService authenticationService,
                       IUserService userService,
                       IGenericAttributeService genericAttributeService,
                       ISiteContext siteContext,
                       ISiteMappingService siteMappingService,
                       IUserAgentHelper userAgentHelper)
 {
     this._httpContextAccessor     = httpContextAccessor;
     this._authenticationService   = authenticationService;
     this._userService             = userService;
     this._genericAttributeService = genericAttributeService;
     this._siteContext             = siteContext;
     this._siteMappingService      = siteMappingService;
     this._userAgentHelper         = userAgentHelper;
 }
Ejemplo n.º 13
0
 public WebWorkContext(HttpContextBase httpContext,
                       IUserService userService,
                       IAuthenticationService authenticationService,
                       ILanguageService languageService,
                       IGenericAttributeService genericAttributeService,
                       LocalizationSettings localizationSettings,
                       IUserAgentHelper userAgentHelper)
 {
     this._httpContext             = httpContext;
     this._userService             = userService;
     this._authenticationService   = authenticationService;
     this._languageService         = languageService;
     this._genericAttributeService = genericAttributeService;
     this._localizationSettings    = localizationSettings;
     this._userAgentHelper         = userAgentHelper;
 }
Ejemplo n.º 14
0
 public WebWorkContext(IAuthenticationService authenticationService,
                       IUserService userService,
                       IGenericAttributeService genericAttributeService,
                       IHttpContextAccessor httpContextAccessor,
                       ILanguageService languageService,
                       IUserAgentHelper userAgentHelper,
                       LocalizationSettings localizationSettings)
 {
     this._authenticationService   = authenticationService;
     this._userService             = userService;
     this._genericAttributeService = genericAttributeService;
     this._httpContextAccessor     = httpContextAccessor;
     this._languageService         = languageService;
     this._userAgentHelper         = userAgentHelper;
     this._localizationSettings    = localizationSettings;
 }
Ejemplo n.º 15
0
 public WebWorkContext(HttpContextBase httpContext,
     ICustomerService customerService,
     IAuthenticationService authenticationService,
     ILanguageService languageService,
     LocalizationSettings localizationSettings,
     IUserAgentHelper userAgentHelper,
     IGenericAttributeService genericAttributeService)
 {
     this._httpContext = httpContext;
     this._customerService = customerService;
     this._authenticationService = authenticationService;
     this._languageService = languageService;
     this._localizationSettings = localizationSettings;
     this._userAgentHelper = userAgentHelper;
     this._genericAttributeService = genericAttributeService;
 }
        /// <summary>
        /// Ctor
        /// </summary>
        /// <param name="httpContextAccessor">HTTP context accessor</param>
        /// <param name="currencySettings">Currency settings</param>
        /// <param name="authenticationService">Authentication service</param>
        /// <param name="currencyService">Currency service</param>
        /// <param name="customerService">Customer service</param>
        /// <param name="genericAttributeService">Generic attribute service</param>
        /// <param name="languageService">Language service</param>
        /// <param name="storeContext">Store context</param>
        /// <param name="storeMappingService">Store mapping service</param>
        /// <param name="userAgentHelper">User gent helper</param>
        /// <param name="vendorService">Vendor service</param>
        /// <param name="localizationSettings">Localization settings</param>
        /// <param name="taxSettings">Tax settings</param>
        public WebWorkContext(IHttpContextAccessor httpContextAccessor,

                              IAuthenticationService authenticationService,

                              ICustomerService customerService,


                              IUserAgentHelper userAgentHelper
                              )
        {
            this._httpContextAccessor = httpContextAccessor;

            this._authenticationService = authenticationService;

            this._customerService = customerService;

            this._userAgentHelper = userAgentHelper;
        }
Ejemplo n.º 17
0
        //private vender _cachedvender;


        #endregion

        #region Ctor

        public WebWorkContext(HttpContextBase httpContext,
                              ICustomerService customerService,
                              //IvenderService venderService,
                              IAuthenticationService authenticationService,
                              //ILanguageService languageService,
                              //ICurrencyService currencyService,
                              //IGenericAttributeService genericAttributeService,
                              IUserAgentHelper userAgentHelper
                              //IStoreMappingService storeMappingService
                              )
        {
            this._httpContext     = httpContext;
            this._customerService = customerService;
            //this._venderService = venderService;
            this._authenticationService = authenticationService;
            //this._languageService = languageService;
            //this._currencyService = currencyService;
            //this._genericAttributeService = genericAttributeService;
            this._userAgentHelper = userAgentHelper;
            //this._storeMappingService = storeMappingService;
        }
Ejemplo n.º 18
0
 public WebWorkContext(
     HttpContextBase httpContext,
     IAccountService accountService,
     IUtilityService utilityService,
     IShippingService shippingService,
     IAuthenticationService authenticationService,
     IUserAgentHelper userAgentHelper,
     //ILogBuilder logBuilder,
     TaxSettings taxSettings,
     CurrencySettings currencySettings,
     ShippingSettings shippingSettings)
 {
     _httpContext           = httpContext;
     _accountService        = accountService;
     _utilityService        = utilityService;
     _shippingService       = shippingService;
     _taxSettings           = taxSettings;
     _currencySettings      = currencySettings;
     _shippingSettings      = shippingSettings;
     _authenticationService = authenticationService;
     _userAgentHelper       = userAgentHelper;
     //_logger = logBuilder.CreateLogger(typeof(WebWorkContext).FullName);
 }
Ejemplo n.º 19
0
 public WebWorkContext(HttpContextBase httpContext,
                       IUserService UserService,
                       IStoreContext storeContext,
                       IAuthenticationService authenticationService,
                       ILanguageService languageService,
                       ICurrencyService currencyService,
                       IGenericAttributeService genericAttributeService,
                       CurrencySettings currencySettings,
                       LocalizationSettings localizationSettings,
                       IUserAgentHelper userAgentHelper,
                       IStoreMappingService storeMappingService)
 {
     _httpContext             = httpContext;
     _UserService             = UserService;
     _storeContext            = storeContext;
     _authenticationService   = authenticationService;
     _languageService         = languageService;
     _currencyService         = currencyService;
     _genericAttributeService = genericAttributeService;
     _currencySettings        = currencySettings;
     _localizationSettings    = localizationSettings;
     _userAgentHelper         = userAgentHelper;
     _storeMappingService     = storeMappingService;
 }
Ejemplo n.º 20
0
 public AuthenticateController(IWebApiCaller webApiCaller, ICookieHelper cookieHelper, IUserAgentHelper userAgentHelper)
 {
     WebApiCaller    = webApiCaller;
     CookieHelper    = cookieHelper;
     UserAgentHelper = userAgentHelper;
 }
Ejemplo n.º 21
0
 public HomeController(NopConfig config, IUserAgentHelper userAgetnHelper)
 {
     _userAgetnHelper = userAgetnHelper;
 }