- Timestamp:
- 01/16/15 14:05:23 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Tests/HeuristicLab.Scripting-3.3/ScriptingUtils.cs
r11735 r11789 21 21 22 22 using System; 23 using System.IO;24 23 using System.Threading; 25 24 using HeuristicLab.Scripting; … … 47 46 return (T)a.VariableStore[resultName]; 48 47 } 49 50 public static string LoadScriptCodeFromFile(string scriptName) {51 string path = Path.Combine(ScriptSourcesDirectory, scriptName + ScriptSourceFileExtension);52 return File.ReadAllText(path);53 }54 48 } 55 49 }
Note: See TracChangeset
for help on using the changeset viewer.