Class FacetViewModelSettings
- Namespace
- Dynamicweb.Ecommerce
- Assembly
- Dynamicweb.Ecommerce.dll
public class FacetViewModelSettings : ViewSettingsBaseCurrencyBase<FacetViewModel>
- Inheritance
-
FacetViewModelSettings
- Inherited Members
Constructors
FacetViewModelSettings()
Empty constructor for webapi
public FacetViewModelSettings()
FacetViewModelSettings(string, string, string, string, int)
Creates a configuration for constructing facetviewmodels.
public FacetViewModelSettings(string languageId, string currencyCode, string countryCode, string shopId, int userId)
Parameters
languageId
stringId of language
currencyCode
stringCurrencyCode
countryCode
stringCountry code2
shopId
stringShop ID.
userId
intUser id
Properties
FacetOptionSettings
Configures how the facet option view should be loaded.
public FacetOptionViewModelSettings FacetOptionSettings { get; set; }
Property Value
- FacetOptionViewModelSettings
configurationOfFacetOptions
Methods
EnsureFilledPropertiesExist()
If filled properties are empty, this method will add ALL valid property names.
public override void EnsureFilledPropertiesExist()