public void Save(string category, string pageName, CommandKeyBinding lastSelected) { using (DecoupledStorage lStorage = new DecoupledStorage(category, pageName)) { lStorage.LoadSubFolders(); RemoveDeletedFolders(lStorage); lStorage.ClearAll(); Save(lStorage, lastSelected); } }
public CommandKeyBinding Load(string category, string pageName) { CommandKeyBinding lResult = null; using (DecoupledStorage lStorage = new DecoupledStorage(category, pageName)) { lStorage.LoadSubFolders(); lResult = Load(lStorage, ""); } return(lResult); }