Exemple #1
0
        public override void WriteObject(XmlWriter writer, object graph)
        {
            SetNestedData SetNestedDataField = ((SetNestedData)(graph));

            if (WriteParentElement(writer, true, true, graph))
            {
                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;
                dataDCS.WriteObject(writer, SetNestedDataField.data);
                writer.WriteEndElement();
            }
            return;
        }
Exemple #2
0
        public override void WriteObject(XmlWriter writer, object graph)
        {
            GetNestedDataResponse GetNestedDataResponseField = ((GetNestedDataResponse)(graph));

            if (WriteParentElement(writer, true, true, graph))
            {
                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;
                GetNestedDataResultDCS.WriteObject(writer, GetNestedDataResponseField.GetNestedDataResult);
                writer.WriteEndElement();
            }
            return;
        }
Exemple #3
0
 public override void WriteObject(XmlWriter writer, object graph)
 {
     SetNestedData SetNestedDataField = ((SetNestedData)(graph));
     if (WriteParentElement(writer, true, true, graph))
     {
         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;
         dataDCS.WriteObject(writer, SetNestedDataField.data);
         writer.WriteEndElement();
     }
     return;
 }
Exemple #4
0
 public override void WriteObject(XmlWriter writer, object graph)
 {
     GetNestedDataResponse GetNestedDataResponseField = ((GetNestedDataResponse)(graph));
     if (WriteParentElement(writer, true, true, graph))
     {
         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;
         GetNestedDataResultDCS.WriteObject(writer, GetNestedDataResponseField.GetNestedDataResult);
         writer.WriteEndElement();
     }
     return;
 }