Class ProductInCartOrWishListCriterion

Inheritance
System.Object
ProductInCartOrWishListCriterion
Namespace: EPiServer.Business.Commerce.VisitorGroupsCriteria
Assembly: EPiServer.Business.Commerce.dll
Version: 10.8.0
Syntax
public class ProductInCartOrWishListCriterion : CriterionBase<ProductInCartOrWishListModel>

Constructors

ProductInCartOrWishListCriterion()

Declaration
public ProductInCartOrWishListCriterion()

Fields

FromCategory

Declaration
public const string FromCategory = "FromCategory"
Field Value
Type Description
System.String

HasPropertyAndValue

Declaration
public const string HasPropertyAndValue = "HasPropertyAndValue"
Field Value
Type Description
System.String

Product

Declaration
public const string Product = "Product"
Field Value
Type Description
System.String

Methods

IsMatch(IPrincipal, HttpContextBase)

Determines whether the specified principal is match.

Declaration
public override bool IsMatch(IPrincipal principal, HttpContextBase httpContext)
Parameters
Type Name Description
System.Security.Principal.IPrincipal principal

The principal.

System.Web.HttpContextBase httpContext

The HTTP context.

Returns
Type Description
System.Boolean

true if the specified principal is match; otherwise, false.