Click or drag to resize
IRuntimeEngine Interface
Rule engine encapsulates all the plumbing and execution plan management of a rule.

Namespace: FlexRule
Assembly: FlexRule.Engine (in FlexRule.Engine.dll) Version: 0.0.0.0 (0.0.0.0)
Syntax
C#
public interface IRuntimeEngine : IExecutableModel

The IRuntimeEngine type exposes the following members.

Properties
  NameDescription
Public propertyDescriptions
Signature definition of rule engine that is prepared by provided model
(Inherited from IExecutableModel.)
Public propertyEnableFullLog
Sets Events to capture all activities during executions
Public propertyEntries
This property is for transformation of data when engine is based on a Decision Table.
(Inherited from IExecutableModel.)
Public propertyEvents
List of events to be captured during execution
Public propertyModel
Rule model that is used for this instance of IExecutableModel
(Inherited from IExecutableModel.)
Public propertyOnRunning
A hook to allow configuration on ExecutorSetupInformation or IActiveElementExecutionContext. Or you can handle ActiveElementEngine events.
(Inherited from IExecutableModel.)
Public propertyWorkflow
Workflow runtime instance
Top
Methods
Extension Methods
  NameDescription
Public Extension MethodAddAssemblyPrivateLocation
Appends a list of private folder paths to resolve custom assemblies and types on runtime.
(Defined by RuntimeEngineExtensions.)
Public Extension MethodAddDiscriminator (Defined by RuntimeEngineExtensions.)
Public Extension MethodEnsureLoaded
Ensures the underlaying transformed model is created for execution.
(Defined by RuntimeEngineExtensions.)
Public Extension MethodRegisterFormula
Registers formulas into an engine
(Defined by RuntimeEngineExtensions.)
Public Extension MethodRegisterFunction(Object)Overloaded.
Registers all the methods on the type that are marked by FunctionAttribute
(Defined by RuntimeEngineExtensions.)
Public Extension MethodRegisterFunction(String, Delegate)Overloaded.
Registers all the methods on the type that are marked by FunctionAttribute
(Defined by RuntimeEngineExtensions.)
Public Extension MethodRegisterFunction(String, MethodInfo, Object)Overloaded.
Registers another IExecutableModel as a function
(Defined by RuntimeEngineExtensions.)
Public Extension MethodRegisterFunction(String, IExecutableModel, String)Overloaded.
Registers another IExecutableModel as a function
(Defined by RuntimeEngineExtensions.)
Public Extension MethodRegisterMultilingualMessage(Resource)Overloaded. (Defined by RuntimeEngineExtensions.)
Public Extension MethodRegisterMultilingualMessage(IDictionaryString, String, CultureInfo)Overloaded. (Defined by RuntimeEngineExtensions.)
Public Extension MethodRegisterType(Type, String)Overloaded.
Registers a type on execution context inside both IVariableContainer and TypeIdRegistry.
(Defined by RuntimeEngineExtensions.)
Public Extension MethodRegisterType(String, String, String)Overloaded.
Registers a type on execution context inside both IVariableContainer and TypeIdRegistry.
(Defined by RuntimeEngineExtensions.)
Public Extension MethodRunConcept
Runs Fact Concept model against fact values to ensure consistency of values using the defined constraints
(Defined by RuntimeFactConceptExtensions.)
Public Extension MethodSetRootFolder
Sets the root path of rules. So they can be found on runtime and addressed relatively.
(Defined by RuntimeEngineExtensions.)
Top
Remarks
Rules can be any of Validator, Procedure, Flow or Decision table form either ExcelTableReader or XmlTableReader. This class simplifies the integration and use of rules in your system.
See Also