Exemple #1
0
        protected override object DoDeserializeValue(XmlReader reader, bool isSimpleValue)
        {
            ICollection <ChannelGroup> result = new List <ChannelGroup>();

            if (SoapHelper.ReadEmptyStartElement(reader)) // Read start of enclosing element
            {
                return(result);
            }
            while (reader.NodeType != XmlNodeType.EndElement)
            {
                result.Add(ChannelGroup.Deserialize(reader));
            }
            reader.ReadEndElement(); // End of enclosing element
            return(result);
        }