IRuleApiGetRulesByProduct Method
|
Get rules by product.
Namespace:
Casewhere.Runtime.DSL.Api
Assembly:
Casewhere.Runtime (in Casewhere.Runtime.dll) Version: 2.8.1.0
Syntax IList<DslRule> GetRulesByProduct(
string productName,
string type
)
Parameters
- productName
- Type: SystemString
Name of product - type
- Type: SystemString
Type of rule.
Return Value
Type:
IListDslRuleValue return from rule expression
Examples var ruleApi = ctx.Use<IRuleApi>();
ruleApi.GetRulesByProduct(type, productName);
See Also