Add property for data binding

This commit is contained in:
2023-04-13 16:10:40 -04:00
parent ba576e559a
commit 96d0591385

View File

@@ -33,6 +33,8 @@ namespace ChrisKaczor.InstalledBrowsers
Process.Start(Command, url); Process.Start(Command, url);
} }
public static List<InstalledBrowser> InstalledBrowsers => GetInstalledBrowsers(true).Values.ToList();
public static Dictionary<string, InstalledBrowser> GetInstalledBrowsers(bool includeSystemDefault) public static Dictionary<string, InstalledBrowser> GetInstalledBrowsers(bool includeSystemDefault)
{ {
var browsers = new Dictionary<string, InstalledBrowser>(); var browsers = new Dictionary<string, InstalledBrowser>();