Class MarketSelectionFactory

EPiServer.Personalization.VisitorGroups.ISelectionFactory implementation which returns a list of available markets.

Inheritance
System.Object
MarketSelectionFactory
Implements
EPiServer.Personalization.VisitorGroups.ISelectionFactory
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: EPiServer.Commerce.VisitorGroupsCriteria
Assembly: EPiServer.Business.Commerce.dll
Version: 10.8.0
Syntax
public class MarketSelectionFactory : ISelectionFactory

Constructors

MarketSelectionFactory()

Initializes a new instance of the MarketSelectionFactory class.

Declaration
public MarketSelectionFactory()

MarketSelectionFactory(IMarketService)

Initializes a new instance of the MarketSelectionFactory class.

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

The market service.

Methods

GetSelectListItems(Type)

Gets the select list items corresponding to the markets returned by the current IMarketService.

Declaration
public IEnumerable<SelectListItem> GetSelectListItems(Type propertyType)
Parameters
Type Name Description
System.Type propertyType

Unused.

Returns
Type Description
System.Collections.Generic.IEnumerable<System.Web.Mvc.SelectListItem>

Implements

EPiServer.Personalization.VisitorGroups.ISelectionFactory