public UserSettings(GeneralSettings generalSettings, HotkeySettings hotkeySettings, ToDoListSettings todoSettings, CodeInspectionSettings codeInspectionSettings, UnitTestSettings unitTestSettings, IndenterSettings indenterSettings) { GeneralSettings = generalSettings; HotkeySettings = hotkeySettings; ToDoListSettings = todoSettings; CodeInspectionSettings = codeInspectionSettings; UnitTestSettings = unitTestSettings; IndenterSettings = indenterSettings; }
public UserSettings(GeneralSettings generalSettings, HotkeySettings hotkeySettings, AutoCompleteSettings autoCompleteSettings, ToDoListSettings todoSettings, CodeInspectionSettings codeInspectionSettings, UnitTestSettings unitTestSettings, IndenterSettings indenterSettings, WindowSettings windowSettings) { GeneralSettings = generalSettings; HotkeySettings = hotkeySettings; AutoCompleteSettings = autoCompleteSettings; ToDoListSettings = todoSettings; CodeInspectionSettings = codeInspectionSettings; UnitTestSettings = unitTestSettings; IndenterSettings = indenterSettings; WindowSettings = windowSettings; }
public void Save(HotkeySettings settings) { _persister.Save(settings); }
public HotkeySettings Create() { var prototype = new HotkeySettings(); return(_persister.Load(prototype) ?? prototype); }