Esempio n. 1
0
 public FacadeService()
 {
     this.EnglishMetricConverter = new EnglishMetricConverter();
     this.WeatherService         = new WeatherService();
     this.GeolocationService     = new GeolocationService();
 }
Esempio n. 2
0
 public TemperatureLookupFacade(WeatherService WeatherService, GeoLookupService GeoLookupService, EnglishMetricConverter EnglishMetricConverter)
 {
     _WeatherService         = WeatherService;
     _GeoLookupService       = GeoLookupService;
     _EnglishMetricConverter = EnglishMetricConverter;
 }
Esempio n. 3
0
 public TemperatureLookupFacade(WeatherService weatherService, GeoLookupService geoLookupService, EnglishMetricConverter englishMetricConverter)
 {
     this.weatherService   = weatherService;
     this.geoLookupService = geoLookupService;
     this.converter        = englishMetricConverter;
 }
Esempio n. 4
0
 public TemperatureLookupFacade()
 {
     _WeatherService         = new WeatherService();
     _GeoLookupService       = new GeoLookupService();
     _EnglishMetricConverter = new EnglishMetricConverter();
 }