コード例 #1
0
        public override void buildXml(System.Xml.XmlWriter xmlWriter)
        {
            xmlWriter.WriteStartElement("excel_swapLeg");
            xmlWriter.WriteElementString("excel_type", "excel_structuredRateSwapLeg");
            xmlWriter.WriteStartElement("excel_structuredRateSwapLeg");
            excel_swapLegInfoViewModel_.buildXml(xmlWriter);

            excel_interfaceViewModel_.buildXml(xmlWriter);

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

            excel_interfaceViewModel_.buildXml(xmlWriter);

            excel_swapInterfaceViewModel_.buildXml(xmlWriter);

            xmlWriter.WriteEndElement();
            xmlWriter.WriteEndElement();
        }
コード例 #3
0
        public void buildXml(System.Xml.XmlWriter xmlWriter)
        {
            xmlWriter.WriteStartElement("iXmlData");
            xmlWriter.WriteElementString("type", "instrument");
            xmlWriter.WriteStartElement("instrument");
            headerViewModel_.buildXml(xmlWriter);

            instPositionInfoViewModel_.buildXml(xmlWriter);

            excel_interfaceViewModel_.buildXml(xmlWriter);

            instrumentInfoViewModel_.buildXml(xmlWriter);

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