Class SiteContext
Supports backwards compatibility for removed Mediachase.Commerce.Website.SiteContext.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.Commerce.Core
Assembly: Mediachase.Commerce.dll
Version: 12.17.2Syntax
public class SiteContext
Constructors
SiteContext()
Declaration
public SiteContext()
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
Type | Description |
---|---|
Currency |
Current
Declaration
public static SiteContext Current { get; }
Property Value
Type | Description |
---|---|
SiteContext |
LanguageName
Declaration
public virtual string LanguageName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
SiteId
Declaration
[Obsolete("Site functionality no longer supported. Will remain at least until March 2019.")]
public virtual Guid SiteId { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
Methods
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()