A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Class ExpressionCategory

Represents the marketing expression categories.

Inheritance
System.Object
ExpressionCategory
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.Marketing
Assembly: Mediachase.Commerce.dll
Version: 12.17.2
Syntax
[Obsolete("Use promotion system in EPiServer.Commerce.Marketing instead. Will be removed in a future major release, but not earlier than August 2018.")]
public static class ExpressionCategory

Fields

Categories

Create a new categories dictionary.

Declaration
public static Dictionary<string, string> Categories
Field Value
Type Description
System.Collections.Generic.Dictionary<System.String, System.String>

Methods

GetExpressionCategory(ExpressionCategory.CategoryKey)

Gets the expression category.

Declaration
public static KeyValuePair<string, string> GetExpressionCategory(ExpressionCategory.CategoryKey key)
Parameters
Type Name Description
ExpressionCategory.CategoryKey key

The key.

Returns
Type Description
System.Collections.Generic.KeyValuePair<System.String, System.String>

GetExpressionCategoryValue(ExpressionCategory.CategoryKey)

Returns value under specified CategoryKey in Categories collection

Declaration
public static string GetExpressionCategoryValue(ExpressionCategory.CategoryKey key)
Parameters
Type Name Description
ExpressionCategory.CategoryKey key

The key.

Returns
Type Description
System.String