6 types derived from NameValueCollection
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\Internals\System\Runtime\UrlUtility.cs (1)
484internal class HttpValueCollection : NameValueCollection
System.Configuration.ConfigurationManager (2)
System\Configuration\KeyValueInternalCollection.cs (1)
8internal sealed class KeyValueInternalCollection : NameValueCollection
System\Configuration\ReadOnlyNameValueCollection.cs (1)
9internal sealed class ReadOnlyNameValueCollection : NameValueCollection
System.Net.Mail (1)
System\Net\Mime\HeaderCollection.cs (1)
13internal sealed class HeaderCollection : NameValueCollection
System.Net.WebHeaderCollection (1)
System\Net\WebHeaderCollection.cs (1)
23public class WebHeaderCollection : NameValueCollection, ISerializable
System.Web.HttpUtility (1)
System\Web\HttpUtility.cs (1)
43private sealed class HttpQSCollection : NameValueCollection
10 instantiations of NameValueCollection
System.Configuration.ConfigurationManager (2)
System\Configuration\ProtectedConfigurationSection.cs (1)
69NameValueCollection cloneParams = new NameValueCollection(pars.Count);
System\Configuration\ProviderSettings.cs (1)
69_propertyNameCollection = new NameValueCollection(StringComparer.Ordinal);
System.Net.HttpListener (2)
System\Net\HttpListenerRequest.cs (1)
195NameValueCollection queryString = new NameValueCollection();
System\Net\WebSockets\HttpListenerWebSocketContext.cs (1)
51_headers = new NameValueCollection(headers);
System.Net.WebClient (1)
System\Net\WebClient.cs (1)
198get { return _requestParameters ??= new NameValueCollection(); }
System.Net.WebHeaderCollection (1)
System\Net\WebHeaderCollection.cs (1)
53private NameValueCollection InnerCollection => _innerCollection ??= new NameValueCollection(ApproxHighAvgNumHeaders, StringComparer.OrdinalIgnoreCase);
VBCSCompiler (2)
src\Compilers\Server\VBCSCompiler\BuildServerController.cs (1)
148appSettings ??= new NameValueCollection();
src\Compilers\Server\VBCSCompiler\VBCSCompiler.cs (1)
37appSettings = new NameValueCollection();
VBCSCompiler.UnitTests (2)
BuildServerControllerTests.cs (1)
23private readonly NameValueCollection _appSettings = new NameValueCollection();
VBCSCompilerServerTests.cs (1)
59var appSettings = new NameValueCollection();
109 references to NameValueCollection
Aspire.Dashboard (1)
Model\ValidateTokenMiddleware.cs (1)
50var qs = HttpUtility.ParseQueryString(context.Request.QueryString.ToString());
Aspire.Dashboard.Components.Tests (1)
Pages\MetricsTests.cs (1)
115var query = HttpUtility.ParseQueryString(loadRedirect.Query);
Aspire.Dashboard.Tests (3)
Integration\FrontendBrowserTokenAuthTests.cs (2)
208var queryString = HttpUtility.ParseQueryString(uri.Query); 238var queryString = HttpUtility.ParseQueryString(uri.Query);
Integration\FrontendOpenIdConnectAuthTests.cs (1)
52var query = HttpUtility.ParseQueryString(redirectedTo.Query);
dotnet-svcutil-lib (2)
FrameworkFork\System.ServiceModel\Internals\System\Runtime\UrlUtility.cs (2)
29public static NameValueCollection ParseQueryString(string query) 34public static NameValueCollection ParseQueryString(string query, Encoding encoding)
Microsoft.AspNetCore.Authentication.Test (1)
OpenIdConnect\OpenIdConnectChallengeTests.cs (1)
989var query = HttpUtility.ParseQueryString(content);
Microsoft.AspNetCore.Components.WebAssembly.Server (1)
WebAssemblyNetDebugProxyAppBuilderExtensions.cs (1)
25var queryParams = HttpUtility.ParseQueryString(context.Request.QueryString.Value!);
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Extensions\SourceGeneratedDocumentUri.cs (2)
64var query = System.Web.HttpUtility.ParseQueryString(documentUri.Query); 85static string GetRequiredQueryValue(string keyName, NameValueCollection nameValueCollection, string query)
Microsoft.Maui (1)
Handlers\HybridWebView\HybridWebViewHandler.cs (1)
171 internal async Task<byte[]?> InvokeDotNetAsync(NameValueCollection invokeQueryString)
netstandard (1)
netstandard.cs (1)
162[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Collections.Specialized.NameValueCollection))]
PresentationCore (3)
System\Windows\CoreCompatibilityPreferences.cs (3)
18NameValueCollection appSettings = null; 123static void SetIncludeAllInkInBoundingBoxFromAppSettings(NameValueCollection appSettings) 164static void SetEnableMultiMonitorDisplayClippingFromAppSettings(NameValueCollection appSettings)
PresentationFramework (7)
MS\Win32\UxThemeWrapper.cs (1)
273NameValueCollection appSettings = null;
System\Windows\FrameworkCompatibilityPreferences.cs (6)
29NameValueCollection appSettings = null; 210static void SetUseSetWindowPosForTopmostWindowsFromAppSettings(NameValueCollection appSettings) 260static void SetVSP45CompatFromAppSettings(NameValueCollection appSettings) 291static void SetScrollingTraceFromAppSettings(NameValueCollection appSettings) 393static void SetShouldThrowOnCopyOrCutFailuresFromAppSettings(NameValueCollection appSettings) 426static void SetIMECompositionTraceFromAppSettings(NameValueCollection appSettings)
System (1)
src\libraries\shims\System\ref\System.cs (1)
151[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Collections.Specialized.NameValueCollection))]
System.Collections.Specialized (23)
System\Collections\Specialized\NameValueCollection.cs (23)
31/// <para>Creates an empty <see cref='System.Collections.Specialized.NameValueCollection'/> with the default initial capacity 40/// <para>Copies the entries from the specified <see cref='System.Collections.Specialized.NameValueCollection'/> to a new <see cref='System.Collections.Specialized.NameValueCollection'/> with the same initial capacity as 44public NameValueCollection(NameValueCollection col) 57/// <para>Creates an empty <see cref='System.Collections.Specialized.NameValueCollection'/> with 75/// <para>Copies the entries from the specified <see cref='System.Collections.Specialized.NameValueCollection'/> to a new <see cref='System.Collections.Specialized.NameValueCollection'/> with the specified initial capacity or the 80public NameValueCollection(int capacity, NameValueCollection col) 156/// <para>Copies the entries in the specified <see cref='System.Collections.Specialized.NameValueCollection'/> to the current <see cref='System.Collections.Specialized.NameValueCollection'/>.</para> 158public void Add(NameValueCollection c) 185/// from the <see cref='System.Collections.Specialized.NameValueCollection'/>.</para> 233/// <para>Gets a value indicating whether the <see cref='System.Collections.Specialized.NameValueCollection'/> contains entries whose keys are not <see langword='null'/>.</para> 254/// <see cref='System.Collections.Specialized.NameValueCollection'/>.</para> 282/// <para> Gets the values associated with the specified key from the <see cref='System.Collections.Specialized.NameValueCollection'/> combined into one comma-separated list.</para> 291/// <para>Gets the values associated with the specified key from the <see cref='System.Collections.Specialized.NameValueCollection'/>.</para> 300/// <para>Adds a value to an entry in the <see cref='System.Collections.Specialized.NameValueCollection'/>.</para> 325/// <see cref='System.Collections.Specialized.NameValueCollection'/>.</para> 346/// Gets the values at the specified index of the <see cref='System.Collections.Specialized.NameValueCollection'/> combined into one 356/// <para> Gets the values at the specified index of the <see cref='System.Collections.Specialized.NameValueCollection'/>.</para> 365/// <para>Gets the key at the specified index of the <see cref='System.Collections.Specialized.NameValueCollection'/>.</para> 373/// <para>Represents the entry at the specified index of the <see cref='System.Collections.Specialized.NameValueCollection'/>.</para> 388/// <para>Gets all the keys in the <see cref='System.Collections.Specialized.NameValueCollection'/>. </para>
System.Configuration.ConfigurationManager (14)
System\Configuration\AppSettingsReader.cs (1)
15private readonly NameValueCollection _map;
System\Configuration\AppSettingsSection.cs (1)
25internal NameValueCollection InternalSettings
System\Configuration\ConfigurationManager.cs (3)
33public static NameValueCollection AppSettings 38if (!(section is NameValueCollection)) 45return (NameValueCollection)section;
System\Configuration\ConfigurationSettings.cs (1)
13public static NameValueCollection AppSettings
System\Configuration\DpapiProtectedConfigurationProvider.cs (2)
93public override void Initialize(string name, NameValueCollection configurationValues) 123private static bool GetBooleanValue(NameValueCollection configurationValues, string valueName, bool defaultValue)
System\Configuration\LocalFileSettingsProvider.cs (1)
49public override void Initialize(string name, NameValueCollection values)
System\Configuration\ProtectedConfigurationSection.cs (2)
68NameValueCollection pars = pn.Parameters; 69NameValueCollection cloneParams = new NameValueCollection(pars.Count);
System\Configuration\Provider\ProviderBase.cs (1)
19public virtual void Initialize(string name, NameValueCollection config)
System\Configuration\ProviderSettings.cs (2)
24private NameValueCollection _propertyNameCollection; 61public NameValueCollection Parameters
System.Net.HttpListener (7)
System\Net\HttpListenerRequest.cs (3)
191public NameValueCollection QueryString 195NameValueCollection queryString = new NameValueCollection(); 533internal static void FillFromString(NameValueCollection nvc, string s, bool urlencoded, Encoding encoding)
System\Net\Managed\HttpListenerRequest.Managed.cs (1)
314public NameValueCollection Headers => _headers;
System\Net\WebSockets\HttpListenerWebSocketContext.cs (3)
14private readonly NameValueCollection _headers; 30NameValueCollection headers, 67public override NameValueCollection Headers => _headers;
System.Net.Mail (5)
System\Net\Mail\MailMessage.cs (1)
192public NameValueCollection Headers
System\Net\Mail\MailWriter.cs (1)
25internal override void WriteHeaders(NameValueCollection headers, bool allowUnicode)
System\Net\Mime\BaseWriter.cs (1)
41internal abstract void WriteHeaders(NameValueCollection headers, bool allowUnicode);
System\Net\Mime\MimeBasePart.cs (1)
149internal NameValueCollection Headers
System\Net\Mime\MimeWriter.cs (1)
28internal override void WriteHeaders(NameValueCollection headers, bool allowUnicode)
System.Net.WebClient (14)
System\Net\WebClient.cs (14)
30private NameValueCollection? _requestParameters; 196public NameValueCollection QueryString 590private byte[] GetValuesToUpload(NameValueCollection data) 618public byte[] UploadValues(string address, NameValueCollection data) => 621public byte[] UploadValues(Uri address, NameValueCollection data) => 624public byte[] UploadValues(string address, string? method, NameValueCollection data) => 627public byte[] UploadValues(Uri address, string? method, NameValueCollection data) 1487public void UploadValuesAsync(Uri address, NameValueCollection data) => 1490public void UploadValuesAsync(Uri address, string? method, NameValueCollection data) => 1493public void UploadValuesAsync(Uri address, string? method, NameValueCollection data, object? userToken) 1759public Task<byte[]> UploadValuesTaskAsync(string address, NameValueCollection data) => 1762public Task<byte[]> UploadValuesTaskAsync(string address, string? method, NameValueCollection data) => 1765public Task<byte[]> UploadValuesTaskAsync(Uri address, NameValueCollection data) => 1768public Task<byte[]> UploadValuesTaskAsync(Uri address, string? method, NameValueCollection data)
System.Net.WebHeaderCollection (2)
System\Net\WebHeaderCollection.cs (2)
28private NameValueCollection? _innerCollection; 53private NameValueCollection InnerCollection => _innerCollection ??= new NameValueCollection(ApproxHighAvgNumHeaders, StringComparer.OrdinalIgnoreCase);
System.Net.WebSockets (1)
System\Net\WebSockets\WebSocketContext.cs (1)
13public abstract NameValueCollection Headers { get; }
System.Runtime.Caching (11)
System\Runtime\Caching\Configuration\ConfigUtil.cs (3)
21internal static int GetIntValue(NameValueCollection config, string valueName, int defaultValue, bool zeroAllowed, int maxValueAllowed) 54internal static int GetIntValueFromTimeSpan(NameValueCollection config, string valueName, int defaultValue) 79internal static bool GetBooleanValue(NameValueCollection config, string valueName, bool defaultValue)
System\Runtime\Caching\MemoryCache.cs (5)
196private void InitDisposableMembers(NameValueCollection config) 322public MemoryCache(string name, NameValueCollection config = null) 343public MemoryCache(string name, NameValueCollection config, bool ignoreConfigSection) 363private void Init(NameValueCollection config) 841internal void UpdateConfig(NameValueCollection config)
System\Runtime\Caching\MemoryCacheStatistics.cs (3)
125private void InitializeConfiguration(NameValueCollection config) 257internal MemoryCacheStatistics(MemoryCache memoryCache, NameValueCollection config) 357internal void UpdateConfig(NameValueCollection config)
System.Web.HttpUtility (2)
System\Web\HttpUtility.cs (2)
81public static NameValueCollection ParseQueryString(string query) => ParseQueryString(query, Encoding.UTF8); 83public static NameValueCollection ParseQueryString(string query, Encoding encoding)
VBCSCompiler (4)
src\Compilers\Server\VBCSCompiler\BuildServerController.cs (3)
28private readonly NameValueCollection _appSettings; 31internal BuildServerController(NameValueCollection appSettings, ICompilerServerLogger logger) 144NameValueCollection? appSettings = null,
src\Compilers\Server\VBCSCompiler\VBCSCompiler.cs (1)
18NameValueCollection appSettings;
VBCSCompiler.UnitTests (2)
BuildServerControllerTests.cs (1)
23private readonly NameValueCollection _appSettings = new NameValueCollection();
VBCSCompilerServerTests.cs (1)
59var appSettings = new NameValueCollection();