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); } }
public void Save() { OpenWithSettings.Save(mappings, userDefinedFileViewers); }