//<?xml version=\"1.0\" encoding=\"utf-16\"?><SalesOrderResponse xmlns=\"http://Shared.Web.Dynamics.Entities/SalesOrderResponse\">
       //<SalesId>VR636087</SalesId>
       //<Code>1</Code>
       //<Message>The createSalesOrder process completed successfully!</Message>
       //<DataAreaId>hrp</DataAreaId>
       //</SalesOrderResponse>"
       /// <summary>
       /// </summary>
       /// <param name="writer"></param>
       public void WriteXml(System.Xml.XmlWriter writer)
       {
           writer.WriteElementString("SalesId", this.SalesId);
           writer.WriteElementString("Code", String.Format("{0}", this.Code));
           writer.WriteElementString("Message", this.Message);
           writer.WriteElementString("DataAreaId", this.DataAreaId);
       }
Example #2
0
 public void WriteXml(System.Xml.XmlWriter writer)
 {
     writer.WriteStartElement("skin");
     writer.WriteElementString("skinName", SkinName);
     writer.WriteElementString("inUse", InUse.ToString());
     writer.WriteEndElement();
 }
Example #3
0
 public void WriteXml(System.Xml.XmlWriter writer)
 {
     writer.WriteStartElement("stateVariable");
     writer.WriteElementString("name", this.Name);
     writer.WriteElementString("dataType", this.DataType);
     writer.WriteEndElement();
 }
        public override void buildXml(System.Xml.XmlWriter xmlWriter)
        {
            xmlWriter.WriteStartElement("excel_underlyingCalcID");

                if (this.attributeValue_ != "")
                {
                    xmlWriter.WriteAttributeString("usingType", this.attributeValue_);
                }

                xmlWriter.WriteElementString("excel_type" , "excel_averageUnderlyingCalcID");
                xmlWriter.WriteStartElement("excel_averageUnderlyingCalcID");

                    xmlWriter.WriteElementString("eventDate", this.eventDate_.ToString(StringFormat.XmlDateFormat_));
                    foreach (var item in this.excel_selectedUnderlyingViewModel_)
                    {
                        item.buildXml(xmlWriter);
                    }    

                    foreach (var item in this.weight_)
                    {
                        xmlWriter.WriteElementString("weight", item);
                    }
                    
                xmlWriter.WriteEndElement();
            xmlWriter.WriteEndElement();
        }
 /// <summary>
 /// </summary>
 /// <param name="writer"></param>
 public void WriteXml(System.Xml.XmlWriter writer)
 {
     writer.WriteElementString("CustomerId", _CustomerId);
     writer.WriteElementString("DataAreaId", _DataAreaId);
     writer.WriteElementString("RecId", Convert.ToString(_RecId));
     writer.WriteElementString("RegId", _RegId);
 }
 public  void buildXml(System.Xml.XmlWriter xmlWriter)
 {
     xmlWriter.WriteStartElement("excel_rateData");
         xmlWriter.WriteElementString("tenor" , this.tenor_);
         xmlWriter.WriteElementString("rateType" , this.rateType_);
         xmlWriter.WriteElementString("value" , this.value_);
     xmlWriter.WriteEndElement();
 }
Example #7
0
 public void WriteXml(System.Xml.XmlWriter writer)
 {
     writer.WriteStartElement("argument");
     writer.WriteElementString("name", this.Name);
     writer.WriteElementString("direction", this.Direction);
     writer.WriteElementString("relatedStateVariable", this.RelatedStateVariable);
     writer.WriteEndElement();
 }
Example #8
0
 /// <summary>
 /// Converts an object into its XML representation. 
 /// </summary>
 /// <param name="writer">The <see cref="XmlWriter" /> stream to which the object is serialized.</param>
 public void WriteXml(System.Xml.XmlWriter writer)
 {
   writer.WriteElementString("connect-type", EnumHelper.GetDescription(this.ConnectType));
   writer.WriteStartElement("authorization");
   writer.WriteElementString("name", this.Authorization.Key);
   writer.WriteElementString("value", this.Authorization.Value);
   writer.WriteEndElement(); // authorization
 }
 public void WriteXml(System.Xml.XmlWriter writer)
 {
     writer.WriteElementString("City", _city);
     writer.WriteElementString("Country", _country);
     writer.WriteElementString("County", _county);
     writer.WriteElementString("PostCode", _postCode);
     writer.WriteElementString("Street", _street);
 }
 public  void buildXml(System.Xml.XmlWriter xmlWriter)
 {
     xmlWriter.WriteStartElement("calculationAmount");
         xmlWriter.WriteElementString("currency" , this.currency_);
             
         xmlWriter.WriteElementString("amount" , this.amount_);
             
     xmlWriter.WriteEndElement();
 }
 public void WriteXml(System.Xml.XmlWriter writer)
 {
     writer.WriteStartElement("module");
     writer.WriteElementString("moduleName", ModuleName);
     writer.WriteElementString("friendlyName", FriendlyName);
     writer.WriteElementString("version", Version);
     writer.WriteElementString("instances", Instances.ToString());
     writer.WriteEndElement();
 }
        private static void WriteAnswerSetInfo(System.Xml.XmlWriter writer, string sourceId, string targetId)
        {
            writer.WriteStartElement("answer_info");

            writer.WriteElementString("source_artifacts_collection", sourceId.Trim());
            writer.WriteElementString("target_artifacts_collection", targetId.Trim());

            writer.WriteEndElement();
        }
 public override void buildXml(System.Xml.XmlWriter xmlWriter)
 {
     xmlWriter.WriteStartElement("excel_additionalOption");
         xmlWriter.WriteElementString("excel_type" , "excel_puttableOption");
         xmlWriter.WriteStartElement("excel_puttableOption");
             xmlWriter.WriteElementString("optionType", this.optionType_);
         xmlWriter.WriteEndElement();
     xmlWriter.WriteEndElement();
 }
 public override void buildXml(System.Xml.XmlWriter xmlWriter)
 {
     xmlWriter.WriteStartElement("messageBody");
         xmlWriter.WriteElementString("excel_type" , "clearQueue");
         xmlWriter.WriteStartElement("clearQueue");
             xmlWriter.WriteElementString("actionType" , this.actionType_);
             
         xmlWriter.WriteEndElement();
     xmlWriter.WriteEndElement();
 }
 public override void buildXml(System.Xml.XmlWriter xmlWriter)
 {
     xmlWriter.WriteStartElement("couponCalculation");
         xmlWriter.WriteElementString("type" , "fixedCouponCalculation");
         xmlWriter.WriteStartElement("fixedCouponCalculation");
             xmlWriter.WriteElementString("fixedRate" , this.fixedRate_);
             
         xmlWriter.WriteEndElement();
     xmlWriter.WriteEndElement();
 }
 public override void buildXml(System.Xml.XmlWriter xmlWriter)
 {
     xmlWriter.WriteStartElement("variableInfo");
         xmlWriter.WriteElementString("excel_type" , "definedVariableInfo");
         xmlWriter.WriteStartElement("definedVariableInfo");
             xmlWriter.WriteElementString("refInstanceName" , this.refInstanceName_);
             
         xmlWriter.WriteEndElement();
     xmlWriter.WriteEndElement();
 }
 public override void buildXml(System.Xml.XmlWriter xmlWriter)
 {
     xmlWriter.WriteStartElement("eventCalculation");
         xmlWriter.WriteElementString("excel_type" , "referenceEventCal");
         xmlWriter.WriteStartElement("referenceEventCal");
             xmlWriter.WriteElementString("refName" , this.refName_);
             
         xmlWriter.WriteEndElement();
     xmlWriter.WriteEndElement();
 }
 public override void buildXml(System.Xml.XmlWriter xmlWriter)
 {
     xmlWriter.WriteStartElement("generalTerminationEventDetail");
         xmlWriter.WriteElementString("type" , "general_TerminationEventDetail_target");
         xmlWriter.WriteStartElement("general_TerminationEventDetail_target");
             xmlWriter.WriteElementString("target" , this.target_);
             
         xmlWriter.WriteEndElement();
     xmlWriter.WriteEndElement();
 }
 public void WriteXml(System.Xml.XmlWriter writer)
 {
     writer.WriteStartElement("portal");
     writer.WriteElementString("portalName", PortalName);
     writer.WriteElementString("GUID", GUID.ToString());
     writer.WriteElementString("pages", Pages.ToString());
     writer.WriteElementString("users", Users.ToString());
     writer.WriteElementString("roles", Roles.ToString());
     writer.WriteEndElement();
 }
 public  void buildXml(System.Xml.XmlWriter xmlWriter)
 {
     xmlWriter.WriteStartElement("iXmlData");
         xmlWriter.WriteElementString("excel_type" , "excel_jointProbabilityTrait");
         xmlWriter.WriteStartElement("excel_jointProbabilityTrait");
             xmlWriter.WriteElementString("nth" , this.nth_);
             
         xmlWriter.WriteEndElement();
     xmlWriter.WriteEndElement();
 }
 public override void buildXml(System.Xml.XmlWriter xmlWriter)
 {
     xmlWriter.WriteStartElement("method");
         xmlWriter.WriteElementString("type" , "monte");
         xmlWriter.WriteStartElement("monte");
             xmlWriter.WriteElementString("simulationNum" , this.simulationNum_);
             
         xmlWriter.WriteEndElement();
     xmlWriter.WriteEndElement();
 }
 public  void buildXml(System.Xml.XmlWriter xmlWriter)
 {
     xmlWriter.WriteStartElement("iXmlData");
         xmlWriter.WriteElementString("type" , "preConditionEvent");
         xmlWriter.WriteStartElement("preConditionEvent");
             xmlWriter.WriteElementString("refName" , this.refName_);
             
         xmlWriter.WriteEndElement();
     xmlWriter.WriteEndElement();
 }
 public override void buildXml(System.Xml.XmlWriter xmlWriter)
 {
     xmlWriter.WriteStartElement("generalScheduleDeatil");
         xmlWriter.WriteElementString("type" , "general_scheduleDetail_fixedAmount");
         xmlWriter.WriteStartElement("general_scheduleDetail_fixedAmount");
             xmlWriter.WriteElementString("fixedAmount" , this.fixedAmount_);
             
         xmlWriter.WriteEndElement();
     xmlWriter.WriteEndElement();
 }
 public  void buildXml(System.Xml.XmlWriter xmlWriter)
 {
     xmlWriter.WriteStartElement("iXmlData");
         xmlWriter.WriteElementString("type" , "fixedRateType");
         xmlWriter.WriteStartElement("fixedRateType");
             xmlWriter.WriteElementString("fixedRate" , this.fixedRate_);
             
         xmlWriter.WriteEndElement();
     xmlWriter.WriteEndElement();
 }
 public override void buildXml(System.Xml.XmlWriter xmlWriter)
 {
     xmlWriter.WriteStartElement("excel_returnCal_Call");
         xmlWriter.WriteElementString("type" , "excel_constReturnCal");
         xmlWriter.WriteStartElement("excel_constReturnCal");
             xmlWriter.WriteElementString("constReturn" , this.constReturn_);
             
         xmlWriter.WriteEndElement();
     xmlWriter.WriteEndElement();
 }
 public override void buildXml(System.Xml.XmlWriter xmlWriter)
 {
     xmlWriter.WriteStartElement("operatorND");
         xmlWriter.WriteElementString("excel_type" , "multipleOperND");
         xmlWriter.WriteStartElement("multipleOperND");
             xmlWriter.WriteElementString("weight" , this.weight_);
             
         xmlWriter.WriteEndElement();
     xmlWriter.WriteEndElement();
 }
        public  void buildXml(System.Xml.XmlWriter xmlWriter)
        {
            xmlWriter.WriteStartElement("excel_selectedUnderlying");

                xmlWriter.WriteElementString("code" , this.code_);
                xmlWriter.WriteElementString("name", this.nameTrans_.Value_);
                xmlWriter.WriteElementString("checked" , this.checked_.ToString());
                    
            xmlWriter.WriteEndElement();
        }
 public override void buildXml(System.Xml.XmlWriter xmlWriter)
 {
     xmlWriter.WriteStartElement("nonKiEventInfo");
         xmlWriter.WriteElementString("type" , "constNonKiTrigger");
         xmlWriter.WriteStartElement("constNonKiTrigger");
             xmlWriter.WriteElementString("return" , this.return_);
             
         xmlWriter.WriteEndElement();
     xmlWriter.WriteEndElement();
 }
 public  void buildXml(System.Xml.XmlWriter xmlWriter)
 {
     xmlWriter.WriteStartElement("iXmlData");
         xmlWriter.WriteElementString("type" , "couponPart");
         xmlWriter.WriteStartElement("couponPart");
             xmlWriter.WriteElementString("payRecieve" , this.payRecieve_);
             
         xmlWriter.WriteEndElement();
     xmlWriter.WriteEndElement();
 }
 public override void buildXml(System.Xml.XmlWriter xmlWriter)
 {
     xmlWriter.WriteStartElement("jointSimpleCalculation");
         xmlWriter.WriteElementString("type" , "andSimpleCal");
         xmlWriter.WriteStartElement("andSimpleCal");
             xmlWriter.WriteElementString("pastOcc" , this.pastOcc_);
             
         xmlWriter.WriteEndElement();
     xmlWriter.WriteEndElement();
 }