CMS_Migration_Utility.GoogleLookup.GetNodeMatches C# (CSharp) Method

GetNodeMatches() private method

private GetNodeMatches ( Google.GData.Spreadsheets.CellFeed cellFeed, string lookupText ) : List
cellFeed Google.GData.Spreadsheets.CellFeed
lookupText string
return List
        private List<string> GetNodeMatches(CellFeed cellFeed, string lookupText)
        {
            List<string> listNodes = new List<string>();
            for (int i = 0; i < cellFeed.Entries.Count; i = i + 2)
            {
                CellEntry curCell = (CellEntry)cellFeed.Entries[i];
                string urlText = curCell.Value;
                if (!string.IsNullOrWhiteSpace(urlText) && urlText.Contains(lookupText))
                {
                    CellEntry nextCell = (CellEntry)cellFeed.Entries[i + 1];
                    listNodes.Add(nextCell.Value);
                    break;
                }
            }
            return listNodes;
        }