Esempio n. 1
0
        public override object ReadObject(XmlReader reader)
        {
            SetNestedData SetNestedDataField = null;

            if (IsParentStartElement(reader, false, true))
            {
                SetNestedDataField = new SetNestedData();
                reader.Read();
                schemas.datacontract.org.WcfMtomService.NestedClassDataContractSerializer dataDCS = new schemas.datacontract.org.WcfMtomService.NestedClassDataContractSerializer("data", "http://tempuri.org/", "http://schemas.datacontract.org/2004/07/WcfMtomService");
                dataDCS.BodyParts       = this.BodyParts;
                SetNestedDataField.data = ((schemas.datacontract.org.WcfMtomService.NestedClass)(dataDCS.ReadObject(reader)));
                reader.ReadEndElement();
            }
            return(SetNestedDataField);
        }
Esempio n. 2
0
 public override object ReadObject(XmlReader reader)
 {
     SetNestedData SetNestedDataField = null;
     if (IsParentStartElement(reader, false, true))
     {
         SetNestedDataField = new SetNestedData();
         reader.Read();
         schemas.datacontract.org.WcfMtomService.NestedClassDataContractSerializer dataDCS = new schemas.datacontract.org.WcfMtomService.NestedClassDataContractSerializer("data", "http://tempuri.org/", "http://schemas.datacontract.org/2004/07/WcfMtomService");
         dataDCS.BodyParts = this.BodyParts;
         SetNestedDataField.data = ((schemas.datacontract.org.WcfMtomService.NestedClass)(dataDCS.ReadObject(reader)));
         reader.ReadEndElement();
     }
     return SetNestedDataField;
 }
Esempio n. 3
0
        public override object ReadObject(XmlReader reader)
        {
            GetNestedDataResponse GetNestedDataResponseField = null;

            if (IsParentStartElement(reader, false, true))
            {
                GetNestedDataResponseField = new GetNestedDataResponse();
                reader.Read();
                schemas.datacontract.org.WcfMtomService.NestedClassDataContractSerializer GetNestedDataResultDCS = new schemas.datacontract.org.WcfMtomService.NestedClassDataContractSerializer("GetNestedDataResult", "http://tempuri.org/", "http://schemas.datacontract.org/2004/07/WcfMtomService");
                GetNestedDataResultDCS.BodyParts = this.BodyParts;
                GetNestedDataResponseField.GetNestedDataResult = ((schemas.datacontract.org.WcfMtomService.NestedClass)(GetNestedDataResultDCS.ReadObject(reader)));
                reader.ReadEndElement();
            }
            return(GetNestedDataResponseField);
        }
Esempio n. 4
0
 public override object ReadObject(XmlReader reader)
 {
     GetNestedDataResponse GetNestedDataResponseField = null;
     if (IsParentStartElement(reader, false, true))
     {
         GetNestedDataResponseField = new GetNestedDataResponse();
         reader.Read();
         schemas.datacontract.org.WcfMtomService.NestedClassDataContractSerializer GetNestedDataResultDCS = new schemas.datacontract.org.WcfMtomService.NestedClassDataContractSerializer("GetNestedDataResult", "http://tempuri.org/", "http://schemas.datacontract.org/2004/07/WcfMtomService");
         GetNestedDataResultDCS.BodyParts = this.BodyParts;
         GetNestedDataResponseField.GetNestedDataResult = ((schemas.datacontract.org.WcfMtomService.NestedClass)(GetNestedDataResultDCS.ReadObject(reader)));
         reader.ReadEndElement();
     }
     return GetNestedDataResponseField;
 }