Interface ISelectionFactory
Common inferface for selection factories
Namespace: EPiServer.Personalization.VisitorGroups
Assembly: EPiServer.Framework.AspNetCore.dll
Version: 12.0.3Syntax
public interface ISelectionFactory
Methods
GetSelectListItems(Type)
Gets the select list items.
Declaration
IEnumerable<SelectListItem> GetSelectListItems(Type propertyType)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Type | propertyType | The property. |
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.Rendering.SelectListItem> |