Exemplo n.º 1
0
        static void Main(string[] args)
        {
            OpenWeatherMapResponseParser parser = new OpenWeatherMapResponseParser();
            OpenWeatherMapClient         client = new OpenWeatherMapClient(openWeatherMapKey, parser);
            WetterConsole console = new WetterConsole(client);

            console.Start();
        }
Exemplo n.º 2
0
 public OpenWeatherMapClient(string appid, OpenWeatherMapResponseParser parser)
 {
     this.weatherApiKey = appid;
     this.parser        = parser;
 }