public static string GetDetailsBySingleFundElement(GetSectionParser parser, string singleFundUrl, EtfSecurities.DetailsSection detailsSection) { var indexPage = EtfSecurities.GetDetailsPage(singleFundUrl, detailsSection, parser.PageId, parser.ProductId, "en-GB", parser.CountryId, parser.InvestorId, parser.LanguageId, ""); return indexPage; }
public static GetSectionParser Parse(string input) { var res = new GetSectionParser(); var match = Pattern.Match(input); res.PageId = match.Groups["PageId"].Value; res.ProductId = match.Groups["ProductId"].Value; res.CountryId = match.Groups["CountryId"].Value; res.InvestorId = match.Groups["InvestorId"].Value; res.LanguageId = match.Groups["LanguageId"].Value; res.LanguageCultureCode = match.Groups["LanguageCultureCode"].Value; return res; }