C# Class Nop.Web.Framework.WebWorkContext

Work context for web application
Inheritance: IWorkContext
Mostra file Open project: emilianionascu/NopCommerce

Public Methods

Method Description
WebWorkContext ( System.Web.HttpContextBase httpContext, ICustomerService customerService, IAuthenticationService authenticationService, ILanguageService languageService, ICurrencyService currencyService, Nop.Core.Domain.Tax.TaxSettings taxSettings, Nop.Core.Domain.Directory.CurrencySettings currencySettings, Nop.Core.Domain.Localization.LocalizationSettings localizationSettings, IWebHelper webHelper ) : System

Protected Methods

Method Description
GetCurrentCustomer ( ) : Customer
GetCustomerCookie ( ) : System.Web.HttpCookie
SetCustomerCookie ( System.Guid customerGuid ) : void

Method Details

GetCurrentCustomer() protected method

protected GetCurrentCustomer ( ) : Customer
return Nop.Core.Domain.Customers.Customer

GetCustomerCookie() protected method

protected GetCustomerCookie ( ) : System.Web.HttpCookie
return System.Web.HttpCookie

SetCustomerCookie() protected method

protected SetCustomerCookie ( System.Guid customerGuid ) : void
customerGuid System.Guid
return void

WebWorkContext() public method

public WebWorkContext ( System.Web.HttpContextBase httpContext, ICustomerService customerService, IAuthenticationService authenticationService, ILanguageService languageService, ICurrencyService currencyService, Nop.Core.Domain.Tax.TaxSettings taxSettings, Nop.Core.Domain.Directory.CurrencySettings currencySettings, Nop.Core.Domain.Localization.LocalizationSettings localizationSettings, IWebHelper webHelper ) : System
httpContext System.Web.HttpContextBase
customerService ICustomerService
authenticationService IAuthenticationService
languageService ILanguageService
currencyService ICurrencyService
taxSettings Nop.Core.Domain.Tax.TaxSettings
currencySettings Nop.Core.Domain.Directory.CurrencySettings
localizationSettings Nop.Core.Domain.Localization.LocalizationSettings
webHelper IWebHelper
return System