Changeset 11154
- Timestamp:
- 07/09/14 08:59:19 (10 years ago)
- Location:
- stable
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk/sources merged: 11135
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Scripting/3.3/CSharpScript.cs
r11090 r11154 38 38 get { 39 39 return @"// use 'vars' to access variables in the script's variable store (e.g. vars.x = 5) 40 // use 'vars[string]' to access variables via runtime strings (e.g. vars[""x""] = 5) 40 41 // use 'vars.Contains(string)' to check if a variable exists 41 42 // use 'vars.Clear()' to remove all variables -
stable/HeuristicLab.Scripting/3.3/Variables.cs
r10892 r11154 20 20 } 21 21 22 public object this[string key] { 23 get { return variableStore[key]; } 24 set { variableStore[key] = value; } 25 } 26 22 27 public bool Contains(string variableName) { 23 28 return variableStore.ContainsKey(variableName);
Note: See TracChangeset
for help on using the changeset viewer.