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 RulesExprValidator

Rule Expression Validator based on Windows Workflow Foundation Rules Engine.

Inheritance
System.Object
RulesExprValidator
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.Validators
Assembly: Mediachase.Commerce.Marketing.Validators.dll
Version: 10.8.0
Syntax
public class RulesExprValidator : IExpressionValidator

Constructors

RulesExprValidator()

Declaration
public RulesExprValidator()

Methods

Eval(String, String, IDictionary<String, Object>)

Evals the specified expression against the context passed in the dictionary.

Declaration
public ValidationResult Eval(string key, string expr, IDictionary<string, object> context)
Parameters
Type Name Description
System.String key

The key. Must be a unique key identifying the current expression. It might be used for caching purpose by the engine.

System.String expr

The expr.

System.Collections.Generic.IDictionary<System.String, System.Object> context

The context, which consists of object that will be accessible during expression evaluation.

Returns
Type Description
ValidationResult

Implements