24 references to 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));