Class CategorySelectionFactory

Inheritance
System.Object
CategorySelectionFactory
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 CategorySelectionFactory : ISelectionFactory

Constructors

CategorySelectionFactory()

Declaration
public CategorySelectionFactory()

CategorySelectionFactory(ICatalogSystem)

Declaration
[Obsolete("This constructor is no longer used, use the one with ISynchronizedObjectInstanceCache instead. Will remain at least until Jan 2017.")]
public CategorySelectionFactory(ICatalogSystem catalogSystem)
Parameters
Type Name Description
ICatalogSystem catalogSystem

CategorySelectionFactory(ICatalogSystem, ISynchronizedObjectInstanceCache)

Declaration
public CategorySelectionFactory(ICatalogSystem catalogSystem, ISynchronizedObjectInstanceCache objectInstanceCache)
Parameters
Type Name Description
ICatalogSystem catalogSystem
EPiServer.Framework.Cache.ISynchronizedObjectInstanceCache objectInstanceCache

Methods

GetSelectListItems(Type)

Gets a list op options for all categoreis.

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 categoreis on the site

Implements

EPiServer.Personalization.VisitorGroups.ISelectionFactory