/// <summary>
 /// Serialize the Raster Function into the stream provided.
 /// </summary>
 /// <param name="data">Xml stream to serialize the function into</param>
 public void Serialize(IXMLSerializeData data)
 {
     data.TypeName         = "WatermarkFunction";
     data.TypeNamespaceURI = @"http://www.esri.com/schemas/ArcGIS/10.2";
     data.AddString("Name", myName);
     data.AddString("Description", myDescription);
     data.AddInteger("PixelType", (int)myPixeltype);
 }
Ejemplo n.º 2
0
        public void Serialize(IXMLSerializeData data)
        {
            data.TypeName         = "HttpBasicAuthenticationGPValue";
            data.TypeNamespaceURI = "http://www.esri.com/schemas/ArcGIS/10.0";

            data.AddString(m_xmlElementName, EncodeUserAuthentication(m_username, m_password));
        }
        public void Serialize(IXMLSerializeData data)
        {
            data.TypeName         = GetType().Name;
            data.TypeNamespaceURI = Constants.SOENamespaceURI;

            data.AddString("Name", Name);
            data.AddInteger("ID", ID);
            data.AddObject("Extent", Extent);
        }
        public void Serialize(IXMLSerializeData data)
        {
            data.TypeName = "HttpBasicAuthenticationGPValue";
            data.TypeNamespaceURI = "http://www.esri.com/schemas/ArcGIS/10.0";

            data.AddString(m_xmlElementName, EncodeUserAuthentication(m_username, m_password));
        }
 /// <summary>
 /// Serialize the Raster Function into the stream provided.
 /// </summary>
 /// <param name="data">Xml stream to serialize the function into</param>
 public void Serialize(IXMLSerializeData data)
 {
     data.TypeName = "NDVICustomFunction";
     data.TypeNamespaceURI = @"http://www.esri.com/schemas/ArcGIS/10.2";
     data.AddString("Name", myName);
     data.AddString("Description", myDescription);
     data.AddInteger("PixelType", (int)myPixeltype);
 }