예제 #1
0
        public static GlobeSpotterConfiguration Load()
        {
            try
            {
                Stream globeSpotterConf = Web.GlobeSpotterConfiguration();

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

            return(_globeSpotterConfiguration);
        }
예제 #2
0
 public static void Delete()
 {
     _globeSpotterConfiguration = null;
 }