コード例 #1
0
 public PollyTestingController(ILogger <PollyTestingController> logger,
                               ITransactionLogService transactionLogService,
                               ICachingService cachingService,
                               IWeatherForecastApiService weatherForecastApiService,
                               IWeatherForecastApiNotUsingPollyService weatherForecastApiNotUsingPollyService
                               )
     : base(logger, transactionLogService, cachingService)
 {
     _logger = logger;
     _weatherForecastApiService = weatherForecastApiService;
     _weatherForecastApiNotUsingPollyService = weatherForecastApiNotUsingPollyService;
 }
コード例 #2
0
 public HomeController(ILogger <HomeController> logger, IWeatherForecastApiService weatherForecastApiService)
 {
     _logger = logger;
     _weatherForecastApiService = weatherForecastApiService;
 }