SaaS CMS has officially launched! Learn more now.

Class VisitorGroupMembershipModel

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Visitor Group Membership model

Inheritance
System.Object
VisitorGroupMembershipModel
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
public class VisitorGroupMembershipModel : CriterionModelBase, ICriterionModel, IDynamicData, IValidateCriterionModel

Constructors

VisitorGroupMembershipModel()

Initializes a new instance of the VisitorGroupMembershipModel class.

Declaration
public VisitorGroupMembershipModel()

VisitorGroupMembershipModel(LocalizationService)

Initializes a new instance of the VisitorGroupMembershipModel class.

Declaration
public VisitorGroupMembershipModel(LocalizationService localizationService)
Parameters
Type Name Description
LocalizationService localizationService

The resource locator that should be used by the current instance. Can be null.

Properties

MembershipStatus

Gets or sets the MembershipStatus

Declaration
[DojoWidget(SelectionFactoryType = typeof(EnumSelectionFactory), AdditionalOptions = "{ selectOnClick: true }")]
public VisitorGroupMembershipStatus MembershipStatus { get; set; }
Property Value
Type Description
VisitorGroupMembershipStatus

VisitorGroupId

Gets or sets the Id of the selected VisitorGroup

Declaration
[DojoWidget(WidgetType = "dijit/form/FilteringSelect", AdditionalOptions = "{ selectOnClick: true }")]
public Guid VisitorGroupId { get; set; }
Property Value
Type Description
System.Guid

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

Validate(VisitorGroup)

Validates the specified current group.

Declaration
public CriterionValidationResult Validate(VisitorGroup currentGroup)
Parameters
Type Name Description
VisitorGroup currentGroup

The current group.

Returns
Type Description
CriterionValidationResult

Return CriterionValidationResult with true if there is not circle reference otherwise false.

Implements

Extension Methods