Click or drag to resize

RuleCompilerCompile Method (IEnumerableIRuleDefinition)

Compiles a collection of rules into a session factory.

Namespace:  NRules
Assembly:  NRules (in NRules.dll) Version: 0.9.2
Syntax
C#
public ISessionFactory Compile(
	IEnumerable<IRuleDefinition> ruleDefinitions
)

Parameters

ruleDefinitions
Type: System.Collections.GenericIEnumerableIRuleDefinition
Rules to compile.

Return Value

Type: ISessionFactory
Session factory.
Exceptions
ExceptionCondition
RuleCompilationExceptionAny fatal error during rules compilation.
See Also