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
string- Id of language
currencyCode
string- CurrencyCode
countryCode
string- Country code2
shopId
string- Shop ID.
userId
int- User 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()