/// <summary> /// Returns whether or not the plugin has a webpage that can be opened /// </summary> /// <param name="obj"></param> /// <returns></returns> public bool CanOpenWebPage(TabItemModel obj) { return !string.IsNullOrEmpty(obj?.PluginInfo.WebPage); }
/// <summary> /// Opens the plugin's webpage /// </summary> /// <param name="obj"></param> public void OpenWebPage(TabItemModel obj) { if (obj == null) return; Process.Start(obj.PluginInfo.WebPage); }