IRule ApiGet Rules By Product Method
Get rules by product.
Definition
Namespace: Casewhere.Runtime.DSL.Api
Assembly: Casewhere.Runtime (in Casewhere.Runtime.dll) Version: 2.9.8.6
Value return from rule expression
Assembly: Casewhere.Runtime (in Casewhere.Runtime.dll) Version: 2.9.8.6
C#
IList<DslRule> GetRulesByProduct(
string productName,
string type
)Parameters
Return Value
IListDslRuleValue return from rule expression
Example
C#
var ruleApi = ctx.Use<IRuleApi>();
ruleApi.GetRulesByProduct(type, productName);