1 type derived from NameValueHeaderValue
System.Net.Http (1)
artifacts\obj\System.Net.Http\Debug\net10.0\System.Net.Http.notsupported.cs (1)
776public 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)
120Headers.ContentType.Parameters.Add(new NameValueHeaderValue("action", action));
Microsoft.AspNetCore.OutputCaching.Tests (4)
OutputCacheTests.cs (4)
173client.DefaultRequestHeaders.Pragma.Add(new System.Net.Http.Headers.NameValueHeaderValue("no-cache")); 901client.DefaultRequestHeaders.Pragma.Add(new System.Net.Http.Headers.NameValueHeaderValue("From")); 906client.DefaultRequestHeaders.Pragma.Add(new System.Net.Http.Headers.NameValueHeaderValue("From")); 911client.DefaultRequestHeaders.Pragma.Add(new System.Net.Http.Headers.NameValueHeaderValue("From"));
Microsoft.AspNetCore.ResponseCaching.Tests (7)
ResponseCachingTests.cs (7)
185client.DefaultRequestHeaders.Pragma.Add(new System.Net.Http.Headers.NameValueHeaderValue("no-cache")); 861client.DefaultRequestHeaders.Pragma.Add(new System.Net.Http.Headers.NameValueHeaderValue("From")); 866client.DefaultRequestHeaders.Pragma.Add(new System.Net.Http.Headers.NameValueHeaderValue("Max-Forwards")); 871client.DefaultRequestHeaders.Pragma.Add(new System.Net.Http.Headers.NameValueHeaderValue("From")); 896client.DefaultRequestHeaders.Pragma.Add(new System.Net.Http.Headers.NameValueHeaderValue("From")); 901client.DefaultRequestHeaders.Pragma.Add(new System.Net.Http.Headers.NameValueHeaderValue("From")); 906client.DefaultRequestHeaders.Pragma.Add(new System.Net.Http.Headers.NameValueHeaderValue("From"));
Microsoft.DotNet.Open.Api.Tools.Tests (2)
OpenApiTestBase.cs (2)
93noExtension.Parameters.Add(new NameValueHeaderValue("filename", "filename")); 95extension.Parameters.Add(new NameValueHeaderValue("filename", "filename.json"));
14 references to NameValueHeaderValue
Microsoft.AspNetCore.Mvc.FunctionalTests (3)
AntiforgeryTests.cs (3)
48var pragmaValue = Assert.Single(response.Headers.Pragma.ToArray()); 100var pragmaValue = Assert.Single(response.Headers.Pragma.ToArray()); 182var 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)
508public System.Collections.Generic.ICollection<System.Net.Http.Headers.NameValueHeaderValue> Extensions { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } } 541public System.Collections.Generic.ICollection<System.Net.Http.Headers.NameValueHeaderValue> Parameters { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } } 699public System.Net.Http.Headers.HttpHeaderValueCollection<System.Net.Http.Headers.NameValueHeaderValue> Pragma { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } } 724public System.Net.Http.Headers.HttpHeaderValueCollection<System.Net.Http.Headers.NameValueHeaderValue> Pragma { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } } 745public System.Collections.Generic.ICollection<System.Net.Http.Headers.NameValueHeaderValue> Parameters { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } } 764protected internal NameValueHeaderValue(System.Net.Http.Headers.NameValueHeaderValue source) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } 771public static System.Net.Http.Headers.NameValueHeaderValue Parse(string input) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } 774public 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); } 781public System.Collections.Generic.ICollection<System.Net.Http.Headers.NameValueHeaderValue> Parameters { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } } 883public System.Collections.Generic.ICollection<System.Net.Http.Headers.NameValueHeaderValue> Parameters { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } }