public static void Save(
     Dictionary <DisplayBindingMappingKey, string> mappings,
     Dictionary <DisplayBindingMappingKey, List <UserDefinedOpenWithFileViewer> > userDefinedFileViewers)
 {
     try {
         var settings = new OpenWithSettings(mappings, userDefinedFileViewers);
         settings.Save();
     } catch (Exception ex) {
         LoggingService.LogError("Unable to save Open With configuration.", ex);
     }
 }
示例#2
0
 public void Save()
 {
     OpenWithSettings.Save(mappings, userDefinedFileViewers);
 }