Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Class CurrentMarketImpl

The default implementation of ICurrentMarket

Inheritance
System.Object
CurrentMarketImpl
Implements
Namespace: Mediachase.Commerce.Markets
Assembly: Mediachase.Commerce.dll
Version: 14.26.0
Syntax
public class CurrentMarketImpl : Object, 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