Changeset 16992 for trunk/HeuristicLab.Optimizer/3.3/StartPage.cs
- Timestamp:
- 05/29/19 11:20:22 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/HeuristicLab.Optimizer/3.3/StartPage.cs
r16565 r16992 30 30 using HeuristicLab.Core; 31 31 using HeuristicLab.MainForm; 32 using HeuristicLab.Persistence.Default.Xml;33 32 34 33 namespace HeuristicLab.Optimizer { … … 121 120 using (var stream = assembly.GetManifestResourceStream(name)) { 122 121 WriteStreamToTempFile(stream, path); // create a file in a temporary folder (persistence cannot load these files directly from the stream) 123 var item = XmlParser.Deserialize<INamedItem>(path);122 var item = (INamedItem)ContentManager.Load(path); 124 123 OnSampleLoaded(item, group, 1.0 / count); 125 124 }
Note: See TracChangeset
for help on using the changeset viewer.