Example #1
0
        public static WeatherObject TryToGetWeather(WeatherType type, int time, double temperature)
        {
            var helper = new WeatherTypeHelper();

            helper.SetParams(time, temperature);
            WeatherObject result = null;

            return(helper.TryToGetWeather(type, ref result) ? result : null);
        }