public IHttpClient Decorate( IHttpClient httpClient, IHttpApiConfiguration httpApiConfiguration) { var httpApiWithTagging = httpApiConfiguration as IHttpApiWithTagging; if (httpApiWithTagging is null) { return(httpClient); } return(httpClient.AddTagging(_sessionIdAccessor, _correlationIdAccessor, _outboundRequestIdAccessor, _guidGenerator, _applicationInfo)); }