示例#1
0
 public void SaveQuickProfilesList(Dictionary <int, QuickProfileItem> list, string fileName)
 {
     fileName = BuildCurrentPath(fileName);
     Logging.Log.Debug($"Saving Quick List as :{fileName}");
     using (var file = _fileIo.CreateText(fileName))
     {
         var serializer = new JsonSerializer {
             Formatting = Formatting.Indented
         };
         serializer.Serialize(file, list);
     }
 }