Create mapping
Last updated
Last updated
Maps variables to arguments of a sequence being called.
Properties
- Variable*: [LTools.Common.Model.VariablesMapping] Variable to store mapping
- Assignments*: [System.Collections.Generic.Dictionary] Map collection (Argument name - Variable name)
LTools.Common.Model.VariablesMapping
Properties:
- [String] [Scripting.Model.ScriptVariable]: Variable reference
- ThrowOnKeyNotExists [Boolean]: Throw exception if argument does not exist
Methods:
- AddMapping(string, Scripting.Model.ScriptVariable): Add new mapping (argument, variable)
- DeleteMapping(string): Delete mapping (argument)
Addition:
You can also create mapping in the code, using, for example, the C # Script element.
C# ScriptIn this case, the script may be like: