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