Click or drag to resize
VariableContainerExtensions Class
Extension methods for IVariableContainer
Inheritance Hierarchy
SystemObject
  FlexRuleVariableContainerExtensions

Namespace: FlexRule
Assemblies:  FlexRule.Core.Element (in FlexRule.Core.Element.dll) Version: 0.0.0.0 (0.0.0.0)
  FlexRule.Core.Library (in FlexRule.Core.Library.dll) Version: 0.0.0.0 (0.0.0.0)
  FlexRule.Engine (in FlexRule.Engine.dll) Version: 0.0.0.0 (0.0.0.0)
  FlexRule.Procedure (in FlexRule.Procedure.dll) Version: 0.0.0.0 (0.0.0.0)
Syntax
C#
public static class VariableContainerExtensions

The VariableContainerExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCompute
Evaluates expression on the provided container
Public methodStatic memberGetExecutionContextInfo
Public methodStatic memberGetNewVariableContainer
Public methodStatic memberGetTypes
Gets all registered type that are extensions from container
Public methodStatic memberIsFunctionLogic
Public methodStatic memberRegister
Registers Types and Parameters of the signature
Public methodStatic memberRegisterFormula
A formula is an expression that is calculated on-the-fly and its expression tree is not parse until evaluation is required.
Public methodStatic memberRegisterFunction(IVariableContainer, Object)
Registers all the methods on the type that are marked by FunctionAttribute
Public methodStatic memberRegisterFunction(IVariableContainer, String, Delegate)
Registers all the methods on the type that are marked by FunctionAttribute
Public methodStatic memberRegisterFunction(IVariableContainer, String, MethodInfo, Object)
Registers a function in for expression evaluation, if the function exists already, will be overwritten.
Public methodStatic memberRegisterFunction(IVariableContainer, String, IExecutableModel, String)
Registers a logic as a function
Public methodStatic memberRegisterFunction(IVariableContainer, String, String, Type, Object)
Registers a function for expression evaluation
Public methodStatic memberRegisterType(IVariableContainer, Type, String)
Registers a type with its name so static methods can be accessed via type name
Remarks
This registration does not register the type with their TypeId. If that's required, you need to register typeId manually on the execution context.
Public methodStatic memberRegisterType(IVariableContainer, ISignatureTypeInfo, ITypeIdentifierRegistry, IEnumerableString)
Registers a type into the provided container
Public methodStatic memberRegisterType(IVariableContainer, IEnumerableISignatureTypeInfo, ITypeIdentifierRegistry, IEnumerableString)
Registers multiple types into the provided container
Public methodStatic memberRegisterVariable(IVariableContainer, ISignatureVariableInfo, IEnumerableString)
Registers variable in to the provided container
Public methodStatic memberRegisterVariable(IVariableContainer, IEnumerableISignatureVariableInfo, IEnumerableString)
Registers multiple variables in the provided container
Public methodStatic memberToDictionary
Returns the current values in the container
Top
See Also