Пример #1
0
 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;
 }
Пример #2
0
 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;
 }
Пример #3
0
 public void Save(HotkeySettings settings)
 {
     _persister.Save(settings);
 }
Пример #4
0
        public HotkeySettings Create()
        {
            var prototype = new HotkeySettings();

            return(_persister.Load(prototype) ?? prototype);
        }