Exemple #1
0
        public void buildXml(System.Xml.XmlWriter xmlWriter)
        {
            xmlWriter.WriteStartElement("iXmlData");
            xmlWriter.WriteElementString("excel_type", "payoffDateInfo");
            xmlWriter.WriteStartElement("payoffDateInfo");
            fixingDateInfoViewModel_.buildXml(xmlWriter);

            xmlWriter.WriteEndElement();
            xmlWriter.WriteEndElement();
        }
Exemple #2
0
        public override void buildXml(System.Xml.XmlWriter xmlWriter)
        {
            xmlWriter.WriteStartElement("referenceCalculation");
            xmlWriter.WriteElementString("type", "identityReferenceCal");
            xmlWriter.WriteStartElement("identityReferenceCal");
            xmlWriter.WriteElementString("krCode", this.krCode_);

            fixingDateInfoViewModel_.buildXml(xmlWriter);

            xmlWriter.WriteEndElement();
            xmlWriter.WriteEndElement();
        }
Exemple #3
0
        public override void buildXml(System.Xml.XmlWriter xmlWriter)
        {
            xmlWriter.WriteStartElement("referenceCalculation");
            xmlWriter.WriteElementString("excel_type", "choiceReferenceCal");
            xmlWriter.WriteStartElement("choiceReferenceCal");
            xmlWriter.WriteElementString("selectedUnderName", this.selectedUnderName_);

            fixingDateInfoViewModel_.buildXml(xmlWriter);

            xmlWriter.WriteEndElement();
            xmlWriter.WriteEndElement();
        }
        public override void buildXml(System.Xml.XmlWriter xmlWriter)
        {
            xmlWriter.WriteStartElement("payoffInfo");
            xmlWriter.WriteElementString("excel_type", "compositeSumOptionPayoff");
            xmlWriter.WriteStartElement("compositeSumOptionPayoff");
            fixingDateInfoViewModel_.buildXml(xmlWriter);

            payoffDateInfoViewModel_.buildXml(xmlWriter);

            referenceCalculationInfoViewModel_.buildXml(xmlWriter);

            foreach (var item in standardOptionViewModel_)
            {
                item.buildXml(xmlWriter);
            }

            xmlWriter.WriteEndElement();
            xmlWriter.WriteEndElement();
        }
Exemple #5
0
        public override void buildXml(System.Xml.XmlWriter xmlWriter)
        {
            xmlWriter.WriteStartElement("eventTrigger");
            xmlWriter.WriteElementString("excel_type", "autoCallConstReturnTrigger");
            xmlWriter.WriteStartElement("autoCallConstReturnTrigger");
            xmlWriter.WriteElementString("dateOrder", this.dateOrder_);

            fixingDateInfoViewModel_.buildXml(xmlWriter);

            payoffDateInfoViewModel_.buildXml(xmlWriter);

            xmlWriter.WriteElementString("trigger", this.trigger_);

            xmlWriter.WriteElementString("return", this.return_);

            xmlWriter.WriteElementString("averageDays", this.averageDays_);

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

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