IRuleApiEvalT Method (String)
|
Evaluate a rule.
Namespace:
Casewhere.Runtime.DSL.Api
Assembly:
Casewhere.Runtime (in Casewhere.Runtime.dll) Version: 2.8.1.0
Syntax T Eval<T>(
string ruleName
)
Parameters
- ruleName
- Type: SystemString
Name of the rule.
Type Parameters
- T
- Return value type
Return Value
Type:
TValue return from rule expression
Examples var ruleApi = ctx.Use<IRuleApi>();
ruleApi.Eval<int>(ruleName);
See Also