Microsoft.Protocols.TestSuites.MS_OXCPERM.MS_OXCPERMAdapter.QueryRowParse C# (CSharp) Method

QueryRowParse() private method

Parse the return rawData from the QueryRow
private QueryRowParse ( PropertyTag propertyTags, byte rawData ) : List>
propertyTags Microsoft.Protocols.TestSuites.Common.PropertyTag The propertyTags define returned properties
rawData byte The rawData contains all the properties
return List>
        private List<List<IPropertyInterface>> QueryRowParse(PropertyTag[] propertyTags, byte[] rawData)
        {
            List<List<IPropertyInterface>> totalList = new List<List<IPropertyInterface>>();
            IPropertyInterface baseList;
            int count = 0x14;
            int times = rawData[0x11];

            while (times != 0)
            {
                List<IPropertyInterface> list1 = new List<IPropertyInterface>();
                int propertyNumber = propertyTags.GetLength(0);
                while (propertyNumber != 0)
                {
                    baseList = parses[propertyTags[(propertyTags.GetLength(0) - propertyNumber)].PropertyId].InputValue(rawData, ref count);
                    list1.Add(baseList);
                    propertyNumber--;
                }

                count++;
                times--;

                totalList.Add(list1);
            }

            return totalList;
        }
MS_OXCPERMAdapter