London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

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: 13.30.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