Пример #1
0
 /// <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);
 }
Пример #2
0
 /// <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);
 }