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");
        }
        private void FindNearFeatures(IMessage reqMsg, IMessage respMsg)
        {
            IXMLSerializeData reqParams = reqMsg.Parameters;

            int layerID = reqParams.GetInteger(FindParam("LayerID", reqParams));

            IPoint location = (IPoint)reqParams.GetObject(FindParam("Location", reqParams), Constants.ESRINamespaceURI, "PointN");

            double distance = reqParams.GetDouble(FindParam("Distance", reqParams));

            IRecordSet recordSet = FindNearFeatures(layerID, location, distance);

            respMsg.Name         = "FindNearFeaturesResponse";
            respMsg.NamespaceURI = Constants.SOENamespaceURI;
            respMsg.Parameters.AddObject("Result", recordSet);
        }
 /// <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")));
 }
 /// <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")));
 }