[]
        
(Showing Draft Content)

C1.WPF.RulesManager.RulesEngineExpressionRule

RulesEngineExpressionRule Class

This rule evaluates whether the Expression function is true, and applies the Style in that case.

Inheritance
RulesEngineExpressionRule
Implements
IXmlSerializable
Namespace: C1.WPF.RulesManager
Assembly: C1.WPF.RulesManager.dll
Syntax
public class RulesEngineExpressionRule : RulesEngineRule, IXmlSerializable
Public Class RulesEngineExpressionRule
    Inherits RulesEngineRule
    Implements IXmlSerializable

Constructors

Name Description
RulesEngineExpressionRule()

Initializes a new instance of the RulesEngineExpressionRule class.

Properties

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.

Methods

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 source.