Class CurrencySelectionFactory

Provides a list of Currency to the dropdown.

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

Constructors

CurrencySelectionFactory()

Declaration
public CurrencySelectionFactory()

CurrencySelectionFactory(CurrencyDto.CurrencyDataTable)

Declaration
public CurrencySelectionFactory(CurrencyDto.CurrencyDataTable currencyTable)
Parameters
Type Name Description
CurrencyDto.CurrencyDataTable currencyTable

Methods

GetSelectListItems(Type)

Gets a list op options for all currencies.

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

The type of the property.

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

A list of options for all currencies on the site

Implements

EPiServer.Personalization.VisitorGroups.ISelectionFactory