[]
This rule evaluates whether the Expression function is true, and applies the Style in that case.
public class RulesEngineExpressionRule : RulesEngineRule, IXmlSerializable
Public Class RulesEngineExpressionRule
Inherits RulesEngineRule
Implements IXmlSerializable
| Name | Description |
|---|---|
| RulesEngineExpressionRule() | Initializes a new instance of the RulesEngineExpressionRule class. |
| Name | Description |
|---|---|
| Expression | Gets or sets the expression that will be evaluated for every item. |
| Style | Gets or sets the style that will be applied when the Expression is evaluated positively. |
| Name | Description |
|---|---|
| Evaluate(RulesEngineSource, int, string) | |
| GetApplicableFields(RulesEngineSource) | Gets the fields from the source where this rule is applicable |
| GetStyle(RulesEngineSource, int, string) | Gets the style for the specified |