Class RuleServices
Namespace: Unity.Industrial.Forma.Core.Ruling
Syntax
public static class RuleServices : object
Fields
k_ThenKeyword
Declaration
public const string k_ThenKeyword = null
Field Value
Type | Description |
---|---|
String |
Methods
CreateRule(Product, String, String)
Create a rule that applies to a product
Declaration
public static IRule CreateRule(Product product, string ruleString, string ruleInfoString)
Parameters
Type | Name | Description |
---|---|---|
Product | product | |
String | ruleString | Rule serialized string |
String | ruleInfoString | IRuleInfo serialized string |
Returns
Type | Description |
---|---|
IRule |