Beispiel #1
0
        public static IForecastReader GetForecastReader()
        {
            var reader = new KeyReader("forecast.key");

            return(new ForecastReader(reader.DarkSkyKey));
        }
Beispiel #2
0
        public static ILocationReader GeLocationReader()
        {
            var reader = new KeyReader("forecast.key");

            return(new LocationReader(reader.GeoNamesKey));
        }