Click or drag to resize
RuntimeEngineExtensionsRegisterFunction Method (IExecutableModel, String, MethodInfo, Object)
Registers another IExecutableModel as a function

Namespace: FlexRule
Assembly: FlexRule.Engine (in FlexRule.Engine.dll) Version: 0.0.0.0 (0.0.0.0)
Syntax
C#
public static void RegisterFunction(
	this IExecutableModel engine,
	string function,
	MethodInfo method,
	Object target
)

Parameters

engine
Type: FlexRuleIExecutableModel
function
Type: SystemString
method
Type: System.ReflectionMethodInfo
target
Type: SystemObject

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IExecutableModel. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also