Esempio n. 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;
 }
Esempio n. 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;
 }
Esempio n. 3
0
 public void Save(HotkeySettings settings)
 {
     _persister.Save(settings);
 }
Esempio n. 4
0
        public HotkeySettings Create()
        {
            var prototype = new HotkeySettings();

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