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