Click or drag to resize
ActiveElementExecutionContext Class
Base execution context for each engine 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#
[SerializableAttribute]
public abstract class ActiveElementExecutionContext : MarshalByRefBase, 
	IActiveElementExecutionContext, IActiveElementActivationContext, IIntActiveElementExecutionContext

The ActiveElementExecutionContext type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyActivatorRegistry
Returns the activator that is used to create ActiveElements of the model
Public propertyCorrelationId
Public propertyException
Will be set if an exception happens during execution of a model
Public propertyNotifications
The provider that manages this context
Public propertyOutput
Output provide for the context. If running model requires to write information on an output this will be used.
Public propertyVariableContainer
Variable container of the context
Top
Methods
  NameDescription
Public methodGetVariableContainer
Returns variable container of an element
Public methodRegisterType
Registers types
Public methodRegisterVariable
Registers variables
Public methodRegisterVariablesAndTypes
Registers variables and types in the running context
Public methodReset
Resets the execution exceptions and clear all variables
Top
Events
  NameDescription
Public eventValueChanged
Notify the host when variable value is changed
Top
Extension Methods
Remarks
Variable context for execution and exception handling of execution. This is a main base context definition that is passed to engine for each execution request. Any request to engine will have its own context that manages the information related to that particular request.
See Also