Click or drag to resize
VariableContainerExtensionsRegisterVariable Method (IVariableContainer, ISignatureVariableInfo, IEnumerableString)
Registers variable in to 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,
	ISignatureVariableInfo var,
	IEnumerable<string> privateBinPaths = null
)

Parameters

container
Type: FlexRuleIVariableContainer
Container that variables will be registered into
var
Type: FlexRule.SignatureISignatureVariableInfo
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