예제 #1
0
파일: EtfSecurities.cs 프로젝트: igiel/Etf
 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;
 }
예제 #2
0
파일: SecuritasTests.cs 프로젝트: igiel/Etf
 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;
 }