示例#1
0
 public GreetingService(
     IReadableDateTimeService readableDateTimeService, INewsService newsService, ISurfService surfService, IWeatherService weatherService)
 {
     _weatherService          = weatherService;
     _surfService             = surfService;
     _readableDateTimeService = readableDateTimeService;
     _newsService             = newsService;
 }
示例#2
0
 public WeatherService(IWeatherApiClient weatherApiClient, IReadableDateTimeService readableDateTimeService)
 {
     _readableDateTimeService = readableDateTimeService;
     _weatherApiClient        = weatherApiClient;
 }
示例#3
0
 public ReadableDateTimeTests()
 {
     _service = new ReadableDateTimeService();
 }