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

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