private HostListItem GetHostListItem(Host host) { return(SupportedHosts.ToList().Find(x => x.DisplayName == host.HostName)); }
private bool IsSupported(string link) { return(SupportedHosts.ToList().Find(x => ((Host)Activator.CreateInstance(x.FileHost)).BaseUrlPattern.IsMatch(link)) != null); }