public FacadeService()
 {
     this.EnglishMetricConverter = new EnglishMetricConverter();
     this.WeatherService         = new WeatherService();
     this.GeolocationService     = new GeolocationService();
 }
 public TemperatureLookupFacade(WeatherService WeatherService, GeoLookupService GeoLookupService, EnglishMetricConverter EnglishMetricConverter)
 {
     _WeatherService         = WeatherService;
     _GeoLookupService       = GeoLookupService;
     _EnglishMetricConverter = EnglishMetricConverter;
 }
Exemple #3
0
 public TemperatureLookupFacade(WeatherService weatherService, GeoLookupService geoLookupService, EnglishMetricConverter englishMetricConverter)
 {
     this.weatherService   = weatherService;
     this.geoLookupService = geoLookupService;
     this.converter        = englishMetricConverter;
 }
 public TemperatureLookupFacade()
 {
     _WeatherService         = new WeatherService();
     _GeoLookupService       = new GeoLookupService();
     _EnglishMetricConverter = new EnglishMetricConverter();
 }