public GetHttpClient ( ) : |
||
Résultat |
public QuestionService(HttpClientService factory, IHttpContextAccessor httpContextAccessor, ISurveysTokenService surveysTokenService) { _httpContextAccessor = httpContextAccessor; _httpClient = factory.GetHttpClient(); _surveysTokenService = surveysTokenService; _cancellationToken = httpContextAccessor?.HttpContext?.RequestAborted ?? CancellationToken.None; }
public QuestionService(HttpClientService factory, IHttpContextAccessor httpContextAccessor, ISurveysTokenService surveysTokenService) { _httpContextAccessor = httpContextAccessor; _httpClient = factory.GetHttpClient(); _surveysTokenService = surveysTokenService; _cancellationToken = httpContextAccessor?.HttpContext?.RequestAborted ?? CancellationToken.None; }