IRuleApiGetRulesByProduct Method
|
Get rules by product.
Namespace: Casewhere.Runtime.DSL.ApiAssembly: Casewhere.Runtime (in Casewhere.Runtime.dll) Version: 2.8.5.0
SyntaxIList<DslRule> GetRulesByProduct(
string productName,
string type
)
Parameters
- productName String
- Name of product
- type String
- Type of rule.
Return Value
IListDslRuleValue return from rule expression
Examplevar ruleApi = ctx.Use<IRuleApi>();
ruleApi.GetRulesByProduct(type, productName);
See Also