示例#1
0
 public WeatherService(ILogger logger, DaprClient dapr, IHttpTraceId httpTraceId)
 {
     _logger      = logger;
     _dapr        = dapr;
     _httpTraceId = httpTraceId;
 }
示例#2
0
 public WeatherService(ILogger logger, IMediator mediator, IHttpTraceId traceId)
 {
     _logger      = logger;
     _mediator    = mediator;
     this.traceId = traceId;
 }
 public WeatherForecastController(ILogger logger, IWeatherService weatherService, IHttpTraceId traceId)
 {
     _logger         = logger;
     _weatherService = weatherService;
     this.traceId    = traceId;
 }