SaaS CMS has officially launched! Learn more now.

Class ViewedCategoriesModel

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Contains settings used by ViewedCategoriesCriterion.

Inheritance
System.Object
ViewedCategoriesModel
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.Personalization.VisitorGroups.Criteria
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7
Syntax
[EPiServerDataStore(AutomaticallyRemapStore = true)]
public class ViewedCategoriesModel : CriterionModelBase, ICriterionModel, IDynamicData

Constructors

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
[DojoWidget(DefaultValue = 0, AdditionalOptions = "{constraints: {min: 0}, selectOnClick: true}")]
public int NumberOfPageViews { get; set; }
Property Value
Type Description
System.Int32

SelectedCategory

Gets or sets the categories to match for a certain criterion.

Declaration
[DojoWidget(SelectionFactoryType = typeof(ViewedCategoriesModel.CategorySelectionFactory), AdditionalOptions = "{ selectOnClick: true }")]
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

Implements

Extension Methods