public void buildXml(System.Xml.XmlWriter xmlWriter) { xmlWriter.WriteStartElement("iXmlData"); xmlWriter.WriteElementString("excel_type", "autoTerminationTrigger"); xmlWriter.WriteStartElement("autoTerminationTrigger"); eventCalculationInfoViewModel_.buildXml(xmlWriter); returnCalculationInfoViewModel_.buildXml(xmlWriter); payoffDateInfoViewModel_.buildXml(xmlWriter); xmlWriter.WriteEndElement(); xmlWriter.WriteEndElement(); }
public override void buildXml(System.Xml.XmlWriter xmlWriter) { xmlWriter.WriteStartElement("eventTrigger"); xmlWriter.WriteElementString("excel_type", "simpleEventCouponTrigger"); xmlWriter.WriteStartElement("simpleEventCouponTrigger"); eventCalculationInfoViewModel_.buildXml(xmlWriter); returnCalculationInfoViewModel_.buildXml(xmlWriter); complementReturnCalculationViewModel_.buildXml(xmlWriter); payoffDateInfoViewModel_.buildXml(xmlWriter); xmlWriter.WriteElementString("isExpired", this.isExpired_); xmlWriter.WriteEndElement(); xmlWriter.WriteEndElement(); }