Class MarketImpl

The default implementation of IMarket.

Inheritance
System.Object
MarketImpl
Implements
Inherited Members
System.Object.ToString()
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.Markets
Assembly: Mediachase.Commerce.dll
Version: 10.8.0
Syntax
public class MarketImpl : IMarket

Constructors

MarketImpl(IMarket)

Creates a copy of the passed IMarket instance.

Declaration
public MarketImpl(IMarket market)
Parameters
Type Name Description
IMarket market

The IMarket instance to copy.

MarketImpl(MarketId)

Creates an empty IMarket instance with the specified market identifier.

Declaration
public MarketImpl(MarketId marketId)
Parameters
Type Name Description
MarketId marketId

Properties

Countries

Declaration
public IEnumerable<string> Countries { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<System.String>

CountriesCollection

Gets a modifiable collection of the associated countries.

Declaration
public ICollection<string> CountriesCollection { get; }
Property Value
Type Description
System.Collections.Generic.ICollection<System.String>

Currencies

Declaration
public IEnumerable<Currency> Currencies { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<Currency>

CurrenciesCollection

Gets a modifiable collection of the available currencies.

Declaration
public ICollection<Currency> CurrenciesCollection { get; }
Property Value
Type Description
System.Collections.Generic.ICollection<Currency>

DefaultCurrency

Declaration
public Currency DefaultCurrency { get; set; }
Property Value
Type Description
Currency

DefaultLanguage

Declaration
public CultureInfo DefaultLanguage { get; set; }
Property Value
Type Description
System.Globalization.CultureInfo

IsEnabled

Declaration
public bool IsEnabled { get; set; }
Property Value
Type Description
System.Boolean

Languages

Declaration
public IEnumerable<CultureInfo> Languages { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<System.Globalization.CultureInfo>

LanguagesCollection

Gets a modifiable collection of the available languages.

Declaration
public ICollection<CultureInfo> LanguagesCollection { get; }
Property Value
Type Description
System.Collections.Generic.ICollection<System.Globalization.CultureInfo>

MarketDescription

Declaration
public string MarketDescription { get; set; }
Property Value
Type Description
System.String

MarketId

Declaration
public MarketId MarketId { get; }
Property Value
Type Description
MarketId

MarketName

Declaration
public string MarketName { get; set; }
Property Value
Type Description
System.String

Implements