Example #1
0
        public static List <tableResult> parseAll(Dictionary <string, string> inpHtml)
        {
            List <tableResult> myResult   = new List <tableResult>();
            tableResult        myTmpTable = new tableResult();
            bool flagNew = false;

            foreach (var item in inpHtml)
            {
                if (item.Key.Contains("tip-purchase"))
                {
                    flagNew                = true;
                    myTmpTable             = new tableResult();
                    myTmpTable.nameTorgStr = item.Value;
                }
                else if (item.Key.Contains("tip-party"))
                {
                    myTmpTable.organizerStr = item.Value;
                    myResult.Add(myTmpTable);
                    flagNew = false;
                    //continue;
                }
                else if (flagNew)
                {
                    myTmpTable.numLot = item.Value;
                }
            }

            return(myResult);
        }
Example #2
0
        static tableResult parseOneRow(string inpStr)
        {
            tableResult myResult = new tableResult();



            return(myResult);
        }
Example #3
0
        static string parseOneItem(KeyValuePair <string, string> inpItem, ref tableResult curTable)
        {
            string myRes = "";



            return(myRes);
        }