Class PromotionHelper

Inheritance
System.Object
PromotionHelper
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: Mediachase.Commerce.Website.Helpers
Assembly: Mediachase.Commerce.Website.dll
Version: 10.8.0
Syntax
public class PromotionHelper

Constructors

PromotionHelper()

Initializes a new instance of the PromotionHelper class.

Declaration
public PromotionHelper()

PromotionHelper(PromotionContext)

Initializes a new instance of the PromotionHelper class.

Declaration
public PromotionHelper(PromotionContext context)
Parameters
Type Name Description
PromotionContext context

The context.

Properties

PromotionContext

Gets or sets the promotion context.

Declaration
public PromotionContext PromotionContext { get; set; }
Property Value
Type Description
PromotionContext

The promotion context.

Methods

Eval(PromotionFilter)

Evals the specified filter.

Declaration
public void Eval(PromotionFilter filter)
Parameters
Type Name Description
PromotionFilter filter

The filter.

Eval(PromotionFilter, Boolean)

Evals the specified filter with checkEntryLevelLimit

Declaration
public void Eval(PromotionFilter filter, bool checkEntryLevelLimit)
Parameters
Type Name Description
PromotionFilter filter

The filter

System.Boolean checkEntryLevelLimit

The check Entry Level Limit

InitPromotionContext()

Inits the promotion context.

Declaration
public void InitPromotionContext()