public CompositeRequestTargetEscaper( IRequestTargetEscaper rfc3986Escaper, IRequestTargetEscaper rfc2396Escaper, IRequestTargetEscaper unescapedEscaper, IRequestTargetEscaper originalStringEscaper) { _rfc3986Escaper = rfc3986Escaper ?? throw new ArgumentNullException(nameof(rfc3986Escaper)); _rfc2396Escaper = rfc2396Escaper ?? throw new ArgumentNullException(nameof(rfc2396Escaper)); _unescapedEscaper = unescapedEscaper ?? throw new ArgumentNullException(nameof(unescapedEscaper)); _originalStringEscaper = originalStringEscaper ?? throw new ArgumentNullException(nameof(originalStringEscaper)); }
public HeaderAppenderFactory(IRequestTargetEscaper requestTargetEscaper) { _requestTargetEscaper = requestTargetEscaper ?? throw new ArgumentNullException(nameof(requestTargetEscaper)); }
public RequestTargetHeaderAppender(HttpRequestForSignatureString request, RequestTargetEscaping requestTargetEscaping, IRequestTargetEscaper requestTargetEscaper) { _request = request ?? throw new ArgumentNullException(nameof(request)); _requestTargetEscaping = requestTargetEscaping; _requestTargetEscaper = requestTargetEscaper ?? throw new ArgumentNullException(nameof(requestTargetEscaper)); }