1 type derived from NameValueHeaderValue
System.Net.Http (1)
artifacts\obj\System.Net.Http\Debug\net10.0\System.Net.Http.notsupported.cs (1)
776
public partial class NameValueWithParametersHeaderValue : System.Net.Http.Headers.
NameValueHeaderValue
, System.ICloneable
14 instantiations of NameValueHeaderValue
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageContent.cs (1)
120
Headers.ContentType.Parameters.Add(new
NameValueHeaderValue
("action", action));
Microsoft.AspNetCore.OutputCaching.Tests (4)
OutputCacheTests.cs (4)
173
client.DefaultRequestHeaders.Pragma.Add(new System.Net.Http.Headers.
NameValueHeaderValue
("no-cache"));
901
client.DefaultRequestHeaders.Pragma.Add(new System.Net.Http.Headers.
NameValueHeaderValue
("From"));
906
client.DefaultRequestHeaders.Pragma.Add(new System.Net.Http.Headers.
NameValueHeaderValue
("From"));
911
client.DefaultRequestHeaders.Pragma.Add(new System.Net.Http.Headers.
NameValueHeaderValue
("From"));
Microsoft.AspNetCore.ResponseCaching.Tests (7)
ResponseCachingTests.cs (7)
185
client.DefaultRequestHeaders.Pragma.Add(new System.Net.Http.Headers.
NameValueHeaderValue
("no-cache"));
861
client.DefaultRequestHeaders.Pragma.Add(new System.Net.Http.Headers.
NameValueHeaderValue
("From"));
866
client.DefaultRequestHeaders.Pragma.Add(new System.Net.Http.Headers.
NameValueHeaderValue
("Max-Forwards"));
871
client.DefaultRequestHeaders.Pragma.Add(new System.Net.Http.Headers.
NameValueHeaderValue
("From"));
896
client.DefaultRequestHeaders.Pragma.Add(new System.Net.Http.Headers.
NameValueHeaderValue
("From"));
901
client.DefaultRequestHeaders.Pragma.Add(new System.Net.Http.Headers.
NameValueHeaderValue
("From"));
906
client.DefaultRequestHeaders.Pragma.Add(new System.Net.Http.Headers.
NameValueHeaderValue
("From"));
Microsoft.DotNet.Open.Api.Tools.Tests (2)
OpenApiTestBase.cs (2)
93
noExtension.Parameters.Add(new
NameValueHeaderValue
("filename", "filename"));
95
extension.Parameters.Add(new
NameValueHeaderValue
("filename", "filename.json"));
14 references to NameValueHeaderValue
Microsoft.AspNetCore.Mvc.FunctionalTests (3)
AntiforgeryTests.cs (3)
48
var
pragmaValue = Assert.Single(response.Headers.Pragma.ToArray());
100
var
pragmaValue = Assert.Single(response.Headers.Pragma.ToArray());
182
var
pragmaValue = Assert.Single(response.Headers.Pragma.ToArray());
netstandard (1)
netstandard.cs (1)
1110
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.Http.Headers.
NameValueHeaderValue
))]
System.Net.Http (10)
artifacts\obj\System.Net.Http\Debug\net10.0\System.Net.Http.notsupported.cs (10)
508
public System.Collections.Generic.ICollection<System.Net.Http.Headers.
NameValueHeaderValue
> Extensions { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } }
541
public System.Collections.Generic.ICollection<System.Net.Http.Headers.
NameValueHeaderValue
> Parameters { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } }
699
public System.Net.Http.Headers.HttpHeaderValueCollection<System.Net.Http.Headers.
NameValueHeaderValue
> Pragma { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } }
724
public System.Net.Http.Headers.HttpHeaderValueCollection<System.Net.Http.Headers.
NameValueHeaderValue
> Pragma { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } }
745
public System.Collections.Generic.ICollection<System.Net.Http.Headers.
NameValueHeaderValue
> Parameters { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } }
764
protected internal NameValueHeaderValue(System.Net.Http.Headers.
NameValueHeaderValue
source) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); }
771
public static System.Net.Http.Headers.
NameValueHeaderValue
Parse(string input) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); }
774
public static bool TryParse([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string? input, [System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] out System.Net.Http.Headers.
NameValueHeaderValue
? parsedValue) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); }
781
public System.Collections.Generic.ICollection<System.Net.Http.Headers.
NameValueHeaderValue
> Parameters { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } }
883
public System.Collections.Generic.ICollection<System.Net.Http.Headers.
NameValueHeaderValue
> Parameters { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } }