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