Class VisitorGroupMembershipModel
Visitor Group Membership model
Inheritance
System.Object
VisitorGroupMembershipModel
Implements
EPiServer.Personalization.VisitorGroups.IValidateCriterionModel
Namespace: EPiServer.Personalization.VisitorGroups.Criteria
Assembly: EPiServer.dll
Version: 7.19.2Syntax
public class VisitorGroupMembershipModel : CriterionModelBase, 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 |
Properties
MembershipStatus
Gets or sets the MembershipStatus
Declaration
public VisitorGroupMembershipStatus MembershipStatus { get; set; }
Property Value
Type | Description |
---|---|
VisitorGroupMembershipStatus |
VisitorGroupId
Gets or sets the Id of the selected EPiServer.Personalization.VisitorGroups.VisitorGroup
Declaration
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 |
---|---|
EPiServer.Personalization.VisitorGroups.ICriterionModel | A new object that is a copy of this instance. |
Validate(VisitorGroup)
Validates the specified current group.
Declaration
public CriterionValidationResult Validate(VisitorGroup currentGroup)
Parameters
Type | Name | Description |
---|---|---|
EPiServer.Personalization.VisitorGroups.VisitorGroup | currentGroup | The current group. |
Returns
Type | Description |
---|---|
EPiServer.Personalization.VisitorGroups.CriterionValidationResult | Return CriterionValidationResult with true if there is not circle reference otherwise false. |
Implements
EPiServer.Personalization.VisitorGroups.IValidateCriterionModel