Click or drag to resize
VariableContainerExtensionsRegisterVariable Method (IVariableContainer, IEnumerableISignatureVariableInfo, IEnumerableString)
Registers multiple variables in the provided container

Namespace: FlexRule
Assembly: FlexRule.Procedure (in FlexRule.Procedure.dll) Version: 0.0.0.0 (0.0.0.0)
Syntax
C#
public static void RegisterVariable(
	this IVariableContainer container,
	IEnumerable<ISignatureVariableInfo> vars,
	IEnumerable<string> privateBinPaths = null
)

Parameters

container
Type: FlexRuleIVariableContainer
Container that variables will be registered into
vars
Type: System.Collections.GenericIEnumerableISignatureVariableInfo
Variables to be registered in the container
privateBinPaths (Optional)
Type: System.Collections.GenericIEnumerableString
Private paths to resolve external types and assemblies

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