Reflection call on a class or an object. Reads the value of a member of a particular object (referenced by objectId) and stores its value in the context under the given id. Performs a call to a static member of an helper class, providing arguments for the call, and storing the result in the context under the given id. Calls a particular member of a particular object (referenced by objectId), providing arguments for the call. The engine’s context is not modified. Calls the .NET delegate that have been bound under id in the engine context prior to processing the rule base.

Logic

A logic block should contain a main condition (IF) and can contain an alternative (ELSE).

While

A while block first contains a conditional top element (AND, OR, NOT) then the action element.

ForEach

Enumerate the object stored in the context under valueId and place its current value under id.

Set

Defines a set which is a group of any operations (except Set) identified by an id.

ThrowException

Posts an empty Error event to the FlowEngineRuleBase trace source.

ThrowFatalException

Posts a Critical event with the provided text to the FlowEngineRuleBase trace source.

Log

Posts an event with the provided text to the FlowEngineRuleBase trace source. The level is used as a numeric index in the TraceEventType enumeration. If no matching type is found, Information is used.

Loading our rules.

Here’s the first step in loading the xml and fire up a BREImpl object. A Business Rules Engine Implementation object.