Table of Contents

Namespace Cuemon.Net.Collections.Specialized

Assembly: Cuemon.Net.dll

Convert between IDictionary<string, string[]> and NameValueCollection using extension methods on the IDecorator<IDictionary<string, string[]>> type. The Cuemon.Net.Collections.Specialized namespace bridges generic dictionary parameters and legacy name-value collections for HTTP and form data scenarios. Use the ToNameValueCollection extension when you need to pass dictionary data to APIs that expect NameValueCollection. Start with this method on IDecorator<IDictionary<string, string[]>> for the most common conversion scenario.

Availability: .NET 10, .NET 9 and .NET Standard 2.0

Complements: System.Collections.Specialized namespace

Extension Members

Type Ext Methods
IDecorator<IDictionary<string,string[]>> ⬇️ ToNameValueCollection
IDecorator ⬇️ ToString

Classes

NameValueCollectionDecoratorExtensions

Extension methods for the NameValueCollection class hidden behind the IDecorator<T> interface.