protected internal abstract Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken);
Task<HttpResponseMessage> task = _handler.SendAsync(request, cancellationToken);
How to call protected method?
protected internal abstract Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken);
Task<HttpResponseMessage> task = _handler.SendAsync(request, cancellationToken);
How to call protected method?
It's not protected
. It's protected internal
. Which means "protected
OR internal
". This method can be called by any code in the same assembly.
What is the difference between 'protected' and 'protected internal'?