Table of Contents

Class FacetGroupHelper

Namespace
Dynamicweb.Indexing.Querying.Faceting
Assembly
Dynamicweb.Core.dll

The Class FacetGroupHelper helps to work with facet groups

public static class FacetGroupHelper
Inheritance
FacetGroupHelper
Inherited Members

Methods

ConvertToFacets(XElement)

Converts xml element into facet group

public static IFacetGroup ConvertToFacets(XElement obj)

Parameters

obj XElement

The element to be converted into facet group

Returns

IFacetGroup

Facet group instance

ConvertToXml(IFacetGroup)

Converts facet group into xml element

public static XElement ConvertToXml(IFacetGroup facets)

Parameters

facets IFacetGroup

The facet group to be converted

Returns

XElement

Facet group in xml element representation

GetValueMapper(IEnumerable<Type>, string)

public static ValueMapperBase? GetValueMapper(IEnumerable<Type> valueMappers, string facetSource)

Parameters

valueMappers IEnumerable<Type>
facetSource string

Returns

ValueMapperBase

Merge(XElement, IFacetGroup)

Merges facet group to xml element

public static void Merge(XElement element, IFacetGroup facets)

Parameters

element XElement

Xml element instance

facets IFacetGroup

Facet group instance

To top