private SiteManager() { AvailableSites = new List<SiteInfo>(); AvailableSites.Add(new SiteInfoGermany()); AvailableSites.Add(new SiteInfoNetherlands()); AvailableSites.Add(new SiteInfoPoland()); //AvailableSites.Add(new SiteInfoUSA()); //AvailableSites.Add(new SiteInfoUK()); foreach (SiteInfo si in AvailableSites) { si.LoadSettings(); } _activeSite = (from a in AvailableSites where a.ID == PluginSettings.Instance.ActiveSiteID select a).FirstOrDefault(); }
public KeyRequestForm(SiteInfo siteInfo):this() { _siteInfo = siteInfo; }