Class StateSelectionFactory
Inheritance
System.Object
StateSelectionFactory
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.0Syntax
public class StateSelectionFactory : ISelectionFactory
Constructors
StateSelectionFactory()
Declaration
public StateSelectionFactory()
StateSelectionFactory(CountryDto)
Declaration
public StateSelectionFactory(CountryDto countryDto)
Parameters
Type | Name | Description |
---|---|---|
CountryDto | countryDto |
Methods
GetSelectListItems(Type)
Gets a list op options for all State.
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 State |
Implements
EPiServer.Personalization.VisitorGroups.ISelectionFactory