Class ViewedCategoriesModel
Contains settings used by ViewedCategoriesCriterion.
Inherited Members
Namespace: EPiServer.Personalization.VisitorGroups.Criteria
Assembly: EPiServer.Cms.AspNetCore.dll
Version: 12.0.3Syntax
[EPiServerDataStore(AutomaticallyRemapStore = true)]
public class ViewedCategoriesModel : CriterionModelBase, ICriterionModel, IDynamicDataConstructors
ViewedCategoriesModel()
Declaration
public ViewedCategoriesModel()Properties
CategoryGuid
Gets or sets the selected category.
Declaration
public Guid CategoryGuid { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Guid | 
Remarks
Used in the export import context
NumberOfPageViews
Gets or sets the number of different pages that has to be viewed.
Declaration
[CriterionPropertyEditor(DefaultValue = 0)]
public int NumberOfPageViews { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
SelectedCategory
Gets or sets the categories to match for a certain criterion.
Declaration
[CriterionPropertyEditor(SelectionFactoryType = null)]
public int SelectedCategory { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
Methods
Copy()
Creates a new object that is a copy of the current instance.
Declaration
public override ICriterionModel Copy()Returns
| Type | Description | 
|---|---|
| ICriterionModel | A new object that is a copy of this instance. | 
Overrides
GetRootCategory()
Gets the root category.
Declaration
public virtual Category GetRootCategory()Returns
| Type | Description | 
|---|---|
| Category | 
