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 FacetFactory

Inheritance
System.Object
FacetFactory
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.Commerce.Shell.Facets
Assembly: EPiServer.Commerce.Shell.dll
Version: 13.30.0
Syntax
public class FacetFactory

Constructors

FacetFactory(LocalizationService)

Declaration
public FacetFactory(LocalizationService localizationService)
Parameters
Type Name Description
EPiServer.Framework.Localization.LocalizationService localizationService

Methods

AddAllItemToGroup(FacetGroup)

Declaration
protected void AddAllItemToGroup(FacetGroup group)
Parameters
Type Name Description
FacetGroup group

CreateFacetGroup(String, String, IEnumerable<FacetItem>, FacetGroupSettings)

Declaration
public virtual FacetGroup CreateFacetGroup(string id, string name, IEnumerable<FacetItem> items, FacetGroupSettings settings)
Parameters
Type Name Description
System.String id
System.String name
System.Collections.Generic.IEnumerable<FacetItem> items
FacetGroupSettings settings
Returns
Type Description
FacetGroup

CreateFacetItem(String, String)

Declaration
public virtual FacetItem CreateFacetItem(string id, string name)
Parameters
Type Name Description
System.String id
System.String name
Returns
Type Description
FacetItem