Esempio n. 1
0
        public static GlobeSpotterConfiguration Load()
        {
            try
            {
                Stream streetSmartConf = Web.GlobeSpotterConfiguration();

                if (streetSmartConf != null)
                {
                    streetSmartConf.Position   = 0;
                    _globeSpotterConfiguration =
                        (GlobeSpotterConfiguration)XmlstreetSmartconfiguration.Deserialize(streetSmartConf);
                    streetSmartConf.Close();
                }
            }
            catch
            {
                // ignored
            }

            return(_globeSpotterConfiguration);
        }
Esempio n. 2
0
 public static void Delete()
 {
     _globeSpotterConfiguration = null;
 }