コード例 #1
0
        private void EchoInput(IMessage reqMsg, IMessage respMsg)
        {
            IXMLSerializeData reqParams = reqMsg.Parameters;

            string inputString = reqParams.GetString(FindParam("Text", reqParams));

            respMsg.Name         = "EchoInputResponse";
            respMsg.NamespaceURI = c_SOENamespace;
            respMsg.Parameters.AddString("Result", inputString);
        }
コード例 #2
0
        public void Deserialize(IXMLSerializeData data)
        {
            int elementIndex = -1;

            elementIndex = data.Find(m_xmlElementName);

            if (elementIndex > -1)
            {
                DecodeUserNamePassword(data.GetString(elementIndex));
            }
        }
コード例 #3
0
        public void Deserialize(IXMLSerializeData data)
        {
            int idx = FindMandatoryParam("Name", data);

            this.Name = data.GetString(idx);

            idx     = FindMandatoryParam("ID", data);
            this.ID = data.GetInteger(idx);

            idx         = FindMandatoryParam("Extent", data);
            this.Extent = (IEnvelope)data.GetObject(idx, Constants.ESRINamespaceURI, "Envelope");
        }
コード例 #4
0
        public void Deserialize(IXMLSerializeData data)
        {
            int elementIndex = -1;
            elementIndex = data.Find(m_xmlElementName);

            if (elementIndex > -1)
            {
                DecodeUserNamePassword(data.GetString(elementIndex));
            }
        }
コード例 #5
0
 /// <summary>
 /// Deserialize the Raster Function from the datastream provided
 /// </summary>
 /// <param name="data">Xml stream to deserialize the function from</param>
 public void Deserialize(IXMLSerializeData data)
 {
     myName        = data.GetString(data.Find("Name"));
     myDescription = data.GetString(data.Find("Description"));
     myPixeltype   = (rstPixelType)(data.GetInteger(data.Find("PixelType")));
 }
コード例 #6
0
 /// <summary>
 /// Deserialize the Raster Function from the datastream provided
 /// </summary>
 /// <param name="data">Xml stream to deserialize the function from</param>
 public void Deserialize(IXMLSerializeData data)
 {
     myName = data.GetString(data.Find("Name"));
     myDescription = data.GetString(data.Find("Description"));
     myPixeltype = (rstPixelType)(data.GetInteger(data.Find("PixelType")));
 }