public static IScriptCommand AddValue <T>(string value1Variable = "{Value1}", T[] value2 = null, string destinationVariable = "{Destination}", IScriptCommand nextCommand = null) { value2 = value2 ?? new T[] {}; string value2Variable = ParameterDic.RandomVariable(); return(ScriptCommands.Assign(value2Variable, value2, false, Add(value1Variable, value2Variable, destinationVariable, nextCommand))); }