Пример #1
0
 public HltvParserResultSaver(HltvParserResult result, Action callback)
 {
     Result = result;
     Context = new BettyContextCsgo();
     Callback = callback;
 }
Пример #2
0
        private void StartParse()
        {
            GetDetailsUrls();
            ParseDetails();
            if (DoTeamsParsing)
            {
                if (DoFullTeamsParsing)
                {
                    ParseTeamLinks();
                }
                ParseTeams();
            }
            if (DoPlayersParsing)
            {
                ParsePlayerLinks();
            }

            Result = new HltvParserResult(Matches, Teams, Players, DetailsUrls);

            if (Callback != null)
            {
                Callback();
            }

            //ParseDetailsLegacy("http://www.hltv.org/legacy/match/2292334-global-vexx-cevo-professional-season-5");
        }