Click or drag to resize

RuleCompiler Class

Compiles rules in a canonical rule model form into an executable representation.
Inheritance Hierarchy
SystemObject
  NRulesRuleCompiler

Namespace:  NRules
Assembly:  NRules (in NRules.dll) Version: 0.9.3
Syntax
C#
public class RuleCompiler

The RuleCompiler type exposes the following members.

Constructors
  NameDescription
Public methodRuleCompiler
Initializes a new instance of the RuleCompiler class using the default RuleCompilerOptions.
Public methodRuleCompiler(RuleCompilerOptions)
Initializes a new instance of the RuleCompiler class using the specified RuleCompilerOptions.
Top
Properties
  NameDescription
Public propertyAggregatorRegistry
Registry of custom aggregator factories.
Public propertyExpressionCompiler
Compiles expressions used in rules conditions and actions into executable delegates. Default implementation uses the built-in .NET expression compiler.
Top
Methods
  NameDescription
Public methodCompile(IEnumerableIRuleDefinition)
Compiles a collection of rules into a session factory.
Public methodCompile(IEnumerableIRuleSet)
Compiles rules from rule sets into a session factory.
Public methodCompile(IEnumerableIRuleDefinition, CancellationToken)
Compiles a collection of rules into a session factory.
Public methodCompile(IEnumerableIRuleSet, CancellationToken)
Compiles rules from rule sets into a session factory.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also