Ejemplo n.º 1
0
        public string Debug()
        {
            Dictionary <string, string> DebugValues = new Dictionary <string, string>();

            DebugValues.Add("status", (_ThrownException == null) ? _ThrownException.Message : string.Empty);
            return(SharedObjects.CompileDebug(DebugValues));
        }
        public string Debug()
        {
            Dictionary <string, string> DebugValues = new Dictionary <string, string>();

            DebugValues.Add("status", _status);
            return(SharedObjects.CompileDebug(DebugValues));
        }
Ejemplo n.º 3
0
        string ISharedInterface.Debug()
        {
            Dictionary <string, string> debugValues = new Dictionary <string, string>();

            debugValues.Add("Last updated", LastUpdated.ToString());

            return(SharedObjects.CompileDebug(debugValues));
        }
Ejemplo n.º 4
0
 public override string Debug()
 {
     System.Collections.Generic.Dictionary <string, string> debugValues = new Dictionary <string, string>();
     debugValues.Add("Temp", Response.main.temp.ToString());
     debugValues.Add("min Temp", Response.main.temp_min.ToString());
     debugValues.Add("max Temp", Response.main.temp_max.ToString());
     debugValues.Add("Debug", base.Debug());
     return(SharedObjects.CompileDebug(debugValues));
 }
        public string Debug()
        {
            Dictionary <string, string> debugValues = new Dictionary <string, string>();

            debugValues.Add("Last updated", LastUpdated.ToString());
            debugValues.Add("Icon url", iconUrl);
            debugValues.Add("zip", _zip);
            return(SharedObjects.CompileDebug(debugValues));
        }
Ejemplo n.º 6
0
        public string Debug()
        {
            Dictionary <string, string> DebugValues = new Dictionary <string, string>
            {
                { "SunRise", _cache.SunRise.ToString() },
                { "SunSet", _cache.SunSet.ToString() }
            };

            return(SharedObjects.CompileDebug(DebugValues));
        }
Ejemplo n.º 7
0
        public string Debug()
        {
            Dictionary <string, string> DebugValues = new Dictionary <string, string>();

            DebugValues.Add("Skykey", _skycode.ToString());
            DebugValues.Add("Last Updated", _lastCall.ToString());
            DebugValues.Add("Cache timeout", _cacheTimeout.ToString());
            DebugValues.Add("Latitude", _latLong.Key.ToString());
            DebugValues.Add("Longitude", _latLong.Value.ToString());
            return(SharedObjects.CompileDebug(DebugValues));
        }
Ejemplo n.º 8
0
        public string Debug()
        {
            Dictionary <string, string> DebugValues = new Dictionary <string, string>
            {
                { "ActiveWeatherType", Enum.GetName(typeof(WeatherDesktop.Share.SharedObjects.WeatherTypes), SetWeatherType) },
                { "Temp", Temp.ToString() },
                { "Forcast", ForcastDescription.ToString() }
            };

            return(SharedObjects.CompileDebug(DebugValues));
        }
Ejemplo n.º 9
0
        public string Debug()
        {
            Dictionary <string, string> DebugValues = new Dictionary <string, string>
            {
                { "Houre to update", _HourToUpdate.ToString() },
                { "Last update", _LastUpdate.ToString() },
                { "Latitude", _lat.ToString() },
                { "Longitude", _long.ToString() },
                { "SunRise", _cache.SunRise.ToString() },
                { "SunSet", _cache.SunSet.ToString() },
                { "Status", _cache.Status }
            };

            return(SharedObjects.CompileDebug(DebugValues));
        }