예제 #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);
        }