/// <summary> /// Initializes a new instance of the <see cref="ExtensionOptionsModel"/> class. /// </summary> /// <param name="plugins"> /// The plugins. /// </param> public ExtensionOptionsModel(PluginController plugincontroller, ExtensionDataModel model) { this.model = model; this.plugincontroller = plugincontroller; this.plugins = plugincontroller.GetPlugins(); this.ControlCommand = new UserSelectControl(this, this.plugins); this.GeneralOptions = new GeneralOptionsModel(); this.GeneralOptionsFrame = this.GeneralOptions.GetUserControlOptions(); }
/// <summary> /// Initializes a new instance of the <see cref="GeneralOptionsControl"/> class. /// </summary> /// <param name="controller"> /// The controller. /// </param> public GeneralOptionsControl(GeneralOptionsModel controller) { this.InitializeComponent(); this.DataContext = controller; }
/// <summary> /// Initializes a new instance of the <see cref="ExtensionOptionsModel"/> class. /// </summary> public ExtensionOptionsModel(ExtensionDataModel model) { this.model = model; this.GeneralOptions = new GeneralOptionsModel(); }