Click or drag to resize
ActiveElementEngine Class
Base engine that processes a request
Inheritance Hierarchy

Namespace: FlexRule
Assembly: FlexRule.Core.Element (in FlexRule.Core.Element.dll) Version: 0.0.0.0 (0.0.0.0)
Syntax
C#
public abstract class ActiveElementEngine : MarshalByRefBase, 
	IActiveElementEngine, IDisposable

The ActiveElementEngine type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyContext
Public propertyControlledMode
When set to true, executor waits on each element and Next must be called
Public propertyElapsed
Execution elapsed amount
Protected propertyExecutor
Public propertyExecutorSetup
Protected propertyInitialized
Public propertyIsRunning
If engine still is running true, otherwise false.
Public propertyNotifications
The notification of the engine to store all the notices
Protected propertyRoot
Top
Methods
  NameDescription
Protected methodAssignEngineInputs
Assigns the input variables to the running context. One of collectionValues or namedValues must be used. The other one must be null.
Public methodCancel
Cancels the running engine execution
Public methodDispose
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 a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodInitialize
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodNext
Next element to execute
Protected methodOnActiveElementCallback
Protected methodOnActiveElementEngineCreated
Protected methodOnActiveElementExecuted
Protected methodOnActiveElementExecuting
Protected methodOnActiveElementItemOutOfScope
Protected methodOnActiveElementItemTracing
Protected methodOnExecuting
Protected methodOnExecutionCompleted
Protected methodOnRunning(IDictionaryString, Object)
Prepare and validates the input parameters of an engine
Protected methodOnRunning(Object)
Prepare and validates the input parameters of an engine
Protected methodRemoveAllLocalVariables
Public methodReset
Brings back the engine in the state of before initialization and execution
Public methodRun(IDictionaryString, Object)
Runs the provided model
Public methodRun(Object)
Run the engine
Protected methodStartRun
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
Extension Methods
  NameDescription
Public Extension MethodGetConclusionLog
Creates a log that why and how engine has come to a conclusion
(Defined by ValidatorEngineExtensions.)
Top
Remarks
Every execution engine based on active elements needs to be derived from this class, it provides the base functionality for controlling the execution process. This base class implements
  • Input parameters assignment -
  • Pre-condition execution validation -
  • Event propagation -
See Also