public ExtensionVisualModel(IExtensionModel model, bool isEnabled) { Model = model; IsEnabled = isEnabled; _isChecked = true; OpenWebSiteCommand = ActionCommand.Create(OpenWebSite); }
public ExtensionVisualModel(ExtensionCategory owner, IExtensionModel model, bool isChecked, bool isEnabled) { Model = model; IsEnabled = isEnabled; _isChecked = isChecked || !isEnabled; _owner = owner; OpenWebSiteCommand = ActionCommand.Create(OpenWebSite); }