Changeset 16563
- Timestamp:
- 01/28/19 12:35:17 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2520_PersistenceReintegration/HeuristicLab.Core/3.3/PersistenceContentManager.cs
r16559 r16563 41 41 42 42 protected override void SaveContent(IStorableContent content, string filename, bool compressed, CancellationToken cancellationToken) { 43 // XmlGenerator.Serialize(content, filename, compressed ? CompressionLevel.Optimal : CompressionLevel.NoCompression, cancellationToken);44 // store files with the new persistence format45 43 var ser = new ProtoBufSerializer(); 46 ser.Serialize(content, filename ); // TODO: support cancellation44 ser.Serialize(content, filename, cancellationToken); 47 45 } 48 46 }
Note: See TracChangeset
for help on using the changeset viewer.