24 instantiations of HttpHeaderValueCollection
System.Net.Http (24)
System\Net\Http\Headers\HttpContentHeaders.cs (3)
18
_allow ??= new
HttpHeaderValueCollection
<string>(KnownHeaders.Allow.Descriptor, this);
29
_contentEncoding ??= new
HttpHeaderValueCollection
<string>(KnownHeaders.ContentEncoding.Descriptor, this);
32
_contentLanguage ??= new
HttpHeaderValueCollection
<string>(KnownHeaders.ContentLanguage.Descriptor, this);
System\Net\Http\Headers\HttpGeneralHeaders.cs (7)
77
_pragma ??= new
HttpHeaderValueCollection
<NameValueHeaderValue>(KnownHeaders.Pragma.Descriptor, _parent);
80
_trailer ??= new
HttpHeaderValueCollection
<string>(KnownHeaders.Trailer.Descriptor, _parent);
135
_upgrade ??= new
HttpHeaderValueCollection
<ProductHeaderValue>(KnownHeaders.Upgrade.Descriptor, _parent);
138
_via ??= new
HttpHeaderValueCollection
<ViaHeaderValue>(KnownHeaders.Via.Descriptor, _parent);
141
_warning ??= new
HttpHeaderValueCollection
<WarningHeaderValue>(KnownHeaders.Warning.Descriptor, _parent);
144
_connection ??= new
HttpHeaderValueCollection
<string>(KnownHeaders.Connection.Descriptor, _parent);
147
_transferEncoding ??= new
HttpHeaderValueCollection
<TransferCodingHeaderValue>(KnownHeaders.TransferEncoding.Descriptor, _parent);
System\Net\Http\Headers\HttpRequestHeaders.cs (9)
38
GetSpecializedCollection(AcceptSlot, static thisRef => new
HttpHeaderValueCollection
<MediaTypeWithQualityHeaderValue>(KnownHeaders.Accept.Descriptor, thisRef));
41
GetSpecializedCollection(AcceptCharsetSlot, static thisRef => new
HttpHeaderValueCollection
<StringWithQualityHeaderValue>(KnownHeaders.AcceptCharset.Descriptor, thisRef));
44
GetSpecializedCollection(AcceptEncodingSlot, static thisRef => new
HttpHeaderValueCollection
<StringWithQualityHeaderValue>(KnownHeaders.AcceptEncoding.Descriptor, thisRef));
47
GetSpecializedCollection(AcceptLanguageSlot, static thisRef => new
HttpHeaderValueCollection
<StringWithQualityHeaderValue>(KnownHeaders.AcceptLanguage.Descriptor, thisRef));
126
GetSpecializedCollection(IfMatchSlot, static thisRef => new
HttpHeaderValueCollection
<EntityTagHeaderValue>(KnownHeaders.IfMatch.Descriptor, thisRef));
135
GetSpecializedCollection(IfNoneMatchSlot, static thisRef => new
HttpHeaderValueCollection
<EntityTagHeaderValue>(KnownHeaders.IfNoneMatch.Descriptor, thisRef));
195
GetSpecializedCollection(TransferEncodingSlot, static thisRef => new
HttpHeaderValueCollection
<TransferCodingWithQualityHeaderValue>(KnownHeaders.TE.Descriptor, thisRef));
198
GetSpecializedCollection(UserAgentSlot, static thisRef => new
HttpHeaderValueCollection
<ProductInfoHeaderValue>(KnownHeaders.UserAgent.Descriptor, thisRef));
201
GetSpecializedCollection(ExpectSlot, static thisRef => new
HttpHeaderValueCollection
<NameValueWithParametersHeaderValue>(KnownHeaders.Expect.Descriptor, thisRef));
System\Net\Http\Headers\HttpResponseHeaders.cs (5)
33
GetSpecializedCollection(AcceptRangesSlot, static thisRef => new
HttpHeaderValueCollection
<string>(KnownHeaders.AcceptRanges.Descriptor, thisRef));
54
GetSpecializedCollection(ProxyAuthenticateSlot, static thisRef => new
HttpHeaderValueCollection
<AuthenticationHeaderValue>(KnownHeaders.ProxyAuthenticate.Descriptor, thisRef));
63
GetSpecializedCollection(ServerSlot, static thisRef => new
HttpHeaderValueCollection
<ProductInfoHeaderValue>(KnownHeaders.Server.Descriptor, thisRef));
66
GetSpecializedCollection(VarySlot, static thisRef => new
HttpHeaderValueCollection
<string>(KnownHeaders.Vary.Descriptor, thisRef));
69
GetSpecializedCollection(WwwAuthenticateSlot, static thisRef => new
HttpHeaderValueCollection
<AuthenticationHeaderValue>(KnownHeaders.WWWAuthenticate.Descriptor, thisRef));
53 references to HttpHeaderValueCollection
netstandard (1)
netstandard.cs (1)
1105
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.Http.Headers.
HttpHeaderValueCollection
<>))]
System.Net.Http (51)
System\Net\Http\Headers\HttpContentHeaders.cs (3)
13
private
HttpHeaderValueCollection
<string>? _allow;
14
private
HttpHeaderValueCollection
<string>? _contentEncoding;
15
private
HttpHeaderValueCollection
<string>? _contentLanguage;
System\Net\Http\Headers\HttpGeneralHeaders.cs (14)
12
private
HttpHeaderValueCollection
<string>? _connection;
13
private
HttpHeaderValueCollection
<string>? _trailer;
14
private
HttpHeaderValueCollection
<TransferCodingHeaderValue>? _transferEncoding;
15
private
HttpHeaderValueCollection
<ProductHeaderValue>? _upgrade;
16
private
HttpHeaderValueCollection
<ViaHeaderValue>? _via;
17
private
HttpHeaderValueCollection
<WarningHeaderValue>? _warning;
18
private
HttpHeaderValueCollection
<NameValueHeaderValue>? _pragma;
76
public
HttpHeaderValueCollection
<NameValueHeaderValue> Pragma =>
79
public
HttpHeaderValueCollection
<string> Trailer =>
134
public
HttpHeaderValueCollection
<ProductHeaderValue> Upgrade =>
137
public
HttpHeaderValueCollection
<ViaHeaderValue> Via =>
140
public
HttpHeaderValueCollection
<WarningHeaderValue> Warning =>
143
public
HttpHeaderValueCollection
<string> Connection =>
146
public
HttpHeaderValueCollection
<TransferCodingHeaderValue> TransferEncoding =>
System\Net\Http\Headers\HttpRequestHeaders.cs (16)
37
public
HttpHeaderValueCollection
<MediaTypeWithQualityHeaderValue> Accept =>
40
public
HttpHeaderValueCollection
<StringWithQualityHeaderValue> AcceptCharset =>
43
public
HttpHeaderValueCollection
<StringWithQualityHeaderValue> AcceptEncoding =>
46
public
HttpHeaderValueCollection
<StringWithQualityHeaderValue> AcceptLanguage =>
125
public
HttpHeaderValueCollection
<EntityTagHeaderValue> IfMatch =>
134
public
HttpHeaderValueCollection
<EntityTagHeaderValue> IfNoneMatch =>
194
public
HttpHeaderValueCollection
<TransferCodingWithQualityHeaderValue> TE =>
197
public
HttpHeaderValueCollection
<ProductInfoHeaderValue> UserAgent =>
200
public
HttpHeaderValueCollection
<NameValueWithParametersHeaderValue> Expect =>
213
public
HttpHeaderValueCollection
<string> Connection
230
public
HttpHeaderValueCollection
<NameValueHeaderValue> Pragma
235
public
HttpHeaderValueCollection
<string> Trailer
240
public
HttpHeaderValueCollection
<TransferCodingHeaderValue> TransferEncoding
251
public
HttpHeaderValueCollection
<ProductHeaderValue> Upgrade
256
public
HttpHeaderValueCollection
<ViaHeaderValue> Via
261
public
HttpHeaderValueCollection
<WarningHeaderValue> Warning
System\Net\Http\Headers\HttpResponseHeaders.cs (12)
32
public
HttpHeaderValueCollection
<string> AcceptRanges =>
53
public
HttpHeaderValueCollection
<AuthenticationHeaderValue> ProxyAuthenticate =>
62
public
HttpHeaderValueCollection
<ProductInfoHeaderValue> Server =>
65
public
HttpHeaderValueCollection
<string> Vary =>
68
public
HttpHeaderValueCollection
<AuthenticationHeaderValue> WwwAuthenticate =>
81
public
HttpHeaderValueCollection
<string> Connection
98
public
HttpHeaderValueCollection
<NameValueHeaderValue> Pragma
103
public
HttpHeaderValueCollection
<string> Trailer
108
public
HttpHeaderValueCollection
<TransferCodingHeaderValue> TransferEncoding
119
public
HttpHeaderValueCollection
<ProductHeaderValue> Upgrade
124
public
HttpHeaderValueCollection
<ViaHeaderValue> Via
129
public
HttpHeaderValueCollection
<WarningHeaderValue> Warning
System\Net\Http\SocketsHttpHandler\AuthenticationHelper.cs (5)
44
private static bool TryGetChallengeDataForScheme(string scheme,
HttpHeaderValueCollection
<AuthenticationHeaderValue> authenticationHeaderValues, out string? challengeData)
68
HttpHeaderValueCollection
<AuthenticationHeaderValue> authenticationHeaderValues = GetResponseAuthenticationHeaderValues(response, isProxyAuth: false);
81
HttpHeaderValueCollection
<AuthenticationHeaderValue> authenticationHeaderValues, out AuthenticationChallenge challenge)
119
HttpHeaderValueCollection
<AuthenticationHeaderValue> authenticationHeaderValues = GetResponseAuthenticationHeaderValues(response, isProxyAuth);
157
private static
HttpHeaderValueCollection
<AuthenticationHeaderValue> GetResponseAuthenticationHeaderValues(HttpResponseMessage response, bool isProxyAuth)
System\Net\Http\SocketsHttpHandler\DecompressionHandler.cs (1)
39
private static bool EncodingExists(
HttpHeaderValueCollection
<StringWithQualityHeaderValue> acceptEncodingHeader, string encoding)
System.Net.Requests (1)
System\Net\HttpWebRequest.cs (1)
1292
HttpHeaderValueCollection
<NameValueHeaderValue> pragmaHeaders = request.Headers.Pragma;