Class CurrentMarketImpl

The default implementation of ICurrentMarket

Inheritance
System.Object
CurrentMarketImpl
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 CurrentMarketImpl : ICurrentMarket

Constructors

CurrentMarketImpl()

Declaration
public CurrentMarketImpl()

CurrentMarketImpl(IMarketService)

Declaration
public CurrentMarketImpl(IMarketService marketService)
Parameters
Type Name Description
IMarketService marketService

Methods

GetCurrentMarket()

Gets the current market.

Declaration
public IMarket GetCurrentMarket()
Returns
Type Description
IMarket

The current market.

SetCurrentMarket(MarketId)

Sets the current market.

Declaration
public void SetCurrentMarket(MarketId marketId)
Parameters
Type Name Description
MarketId marketId

The market id to set.

Implements