Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5548 from retailcoder/weblink
Introduces a link to the website's inspection details page for the selected inspection result, at the bottom of the bottom panel in the inspection results toolwindow.
- Loading branch information
Showing
6 changed files
with
53 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
using System; | ||
using System.Diagnostics; | ||
|
||
namespace Rubberduck.UI | ||
{ | ||
public interface IWebNavigator | ||
{ | ||
/// <summary> | ||
/// Opens the specified URI in the default browser. | ||
/// </summary> | ||
void Navigate(Uri uri); | ||
} | ||
|
||
public class WebNavigator : IWebNavigator | ||
{ | ||
public void Navigate(Uri uri) | ||
{ | ||
Process.Start(new ProcessStartInfo(uri.AbsoluteUri)); | ||
} | ||
} | ||
} |