public void buildXml(System.Xml.XmlWriter xmlWriter)
        {
            xmlWriter.WriteStartElement("iXmlData");
            xmlWriter.WriteElementString("type", "simpleRangeReturn");
            xmlWriter.WriteStartElement("simpleRangeReturn");
            simpleRangeEventCalViewModel_.buildXml(xmlWriter);

            returnCalculationViewModel_.buildXml(xmlWriter);

            xmlWriter.WriteEndElement();
            xmlWriter.WriteEndElement();
        }
コード例 #2
0
        public void buildXml(System.Xml.XmlWriter xmlWriter)
        {
            xmlWriter.WriteStartElement("iXmlData");
            xmlWriter.WriteElementString("excel_type", "noAutoCallReturnTrigger");
            xmlWriter.WriteStartElement("noAutoCallReturnTrigger");
            payoffDateInfoViewModel_.buildXml(xmlWriter);

            returnCalculationViewModel_.buildXml(xmlWriter);

            xmlWriter.WriteEndElement();
            xmlWriter.WriteEndElement();
        }
        public override void buildXml(System.Xml.XmlWriter xmlWriter)
        {
            xmlWriter.WriteStartElement("payoffInfo");
            xmlWriter.WriteElementString("type", "stopLossPayoff");
            xmlWriter.WriteStartElement("stopLossPayoff");
            eventTriggerListViewModel_.buildXml(xmlWriter);

            barrierInfoViewModel_.buildXml(xmlWriter);

            returnCalculationViewModel_.buildXml(xmlWriter);

            payoffDateInfoViewModel_.buildXml(xmlWriter);

            xmlWriter.WriteEndElement();
            xmlWriter.WriteEndElement();
        }
        public override void buildXml(System.Xml.XmlWriter xmlWriter)
        {
            xmlWriter.WriteStartElement("eventTrigger");
            xmlWriter.WriteElementString("type", "vanillaCouponTrigger");
            xmlWriter.WriteStartElement("vanillaCouponTrigger");
            xmlWriter.WriteElementString("gearing", this.gearing_);

            xmlWriter.WriteElementString("spread", this.spread_);

            returnCalculationViewModel_.buildXml(xmlWriter);

            payoffDateInfoViewModel_.buildXml(xmlWriter);

            xmlWriter.WriteElementString("isExpired", this.isExpired_);

            xmlWriter.WriteEndElement();
            xmlWriter.WriteEndElement();
        }