public MySettings CopyTo(MySettings other) { other.BoolOption1 = this.BoolOption1; other.BoolOption2 = this.BoolOption2; other.StringOption3 = this.StringOption3; return(other); }
CommandLoader(IWpfCommandManager wpfCommandManager, MySettings mySettings) { var cmds = wpfCommandManager.GetCommands(CommandConstants.GUID_TEXTEDITOR_UICONTEXT); // This command will be added to all text editors cmds.Add(Option1Command, (s, e) => mySettings.BoolOption1 = !mySettings.BoolOption1, (s, e) => e.CanExecute = true, ModifierKeys.Control | ModifierKeys.Alt, Key.Q); }
TextEditorCommand2(MySettings mySettings) { this.mySettings = mySettings; }
MiscOptionCreator(MySettings mySettings) { this.mySettings = mySettings; }
public MyAppSettingsTab(MySettings mySettings) { this.globalSettings = mySettings; this.newSettings = mySettings.Clone(); }
MyAppSettingsTabCreator(MySettings mySettings) { this.mySettings = mySettings; }
public MySettings CopyTo(MySettings other) { other.BoolOption1 = this.BoolOption1; other.BoolOption2 = this.BoolOption2; other.StringOption3 = this.StringOption3; return other; }