예제 #1
0
        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();
        }
예제 #2
0
        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();
        }