Click or drag to resize
VariableContainerExtensionsRegisterFunction Method (IVariableContainer, String, Delegate)
Registers all the methods on the type that are marked by FunctionAttribute

Namespace: FlexRule
Assembly: FlexRule.Core.Library (in FlexRule.Core.Library.dll) Version: 0.0.0.0 (0.0.0.0)
Syntax
C#
public static IVariableContainer RegisterFunction(
	this IVariableContainer container,
	string function,
	Delegate target
)

Parameters

container
Type: FlexRuleIVariableContainer
function
Type: SystemString
target
Type: SystemDelegate
Type if the methods are static, otherwise object instance

Return Value

Type: IVariableContainer

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IVariableContainer. 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