Click or drag to resize

IRuleApiEval Method (String)

Evaluate a rule.

Namespace:  Casewhere.Runtime.DSL.Api
Assembly:  Casewhere.Runtime (in Casewhere.Runtime.dll) Version: 2.8.1.0
Syntax
C#
bool Eval(
	string ruleName
)

Parameters

ruleName
Type: SystemString
Name of the rule.

Return Value

Type: Boolean
Value return from rule expression
Examples
var ruleApi = ctx.Use<IRuleApi>();
ruleApi.Eval(ruleName);
See Also