using (FileStream strm = new FileStream(this.userPresetFile, FileMode.Create, FileAccess.Write))\r
{\r
List<Preset> userPresets = this.presets.Where(p => p.IsBuildIn == false).ToList();\r
- string presetsJson = JsonConvert.SerializeObject(userPresets, Formatting.Indented, settings);\r
+ PresetTransportContainer container = JsonPresetFactory.ExportPresets(userPresets, HBConfigurationFactory.Create());\r
+\r
+ string presetsJson = JsonConvert.SerializeObject(container, Formatting.Indented, settings);\r
\r
using (StreamWriter writer = new StreamWriter(strm))\r
{\r