Class DefaultSiteContext
Implementation of SiteContext that depends on current market for currency settings.
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: 10.8.0Syntax
public class DefaultSiteContext : SiteContext
Remarks
This is the default SiteContext implementation that will be used unless the container is re-configured.
Constructors
DefaultSiteContext(ICurrentMarket)
Declaration
public DefaultSiteContext(ICurrentMarket currentMarket)
Parameters
Type | Name | Description |
---|---|---|
ICurrentMarket | currentMarket |
Properties
AppPath
Gets or sets the application path.
Declaration
public override string AppPath { get; set; }
Property Value
Type | Description |
---|---|
System.String | The application path. |
Overrides
Currency
Gets or sets the currency.
Declaration
public override Currency Currency { get; set; }
Property Value
Type | Description |
---|---|
Currency | The currency. |
Overrides
LanguageName
Gets or sets the language name.
Declaration
public override string LanguageName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The language name. |