Class SiteContext
Supports backwards compatibility for removed Mediachase.Commerce.Website.SiteContext.
Inheritance
System.Object
SiteContext
Assembly: Mediachase.Commerce.dll
Version: 14.26.0
Syntax
public class SiteContext : Object
Constructors
SiteContext()
Declaration
SiteContext(IHttpContextAccessor)
Declaration
public SiteContext(IHttpContextAccessor httpContextAccessor)
Parameters
Type |
Name |
Description |
Microsoft.AspNetCore.Http.IHttpContextAccessor |
httpContextAccessor |
|
Fields
CURRENCYCOOKIE
Declaration
public const string CURRENCYCOOKIE = "currencyCode"
Field Value
Type |
Description |
System.String |
|
Properties
AppPath
Declaration
public virtual string AppPath { get; set; }
Property Value
Type |
Description |
System.String |
|
Currency
Declaration
public virtual Currency Currency { get; set; }
Property Value
Current
Declaration
public static SiteContext Current { get; }
Property Value
LanguageName
Declaration
public virtual string LanguageName { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|