Class DictionaryExtensions
- Namespace
- Cuemon.Extensions.Net
- Assembly
- Cuemon.Extensions.Net.dll
Extension methods for the IDictionary<TKey,TValue> interface.
public static class DictionaryExtensions
- Inheritance
-
DictionaryExtensions
Methods
ToQueryString(IDictionary<String, String[]>, Boolean)
Converts the specified query
into its String equivalent.
public static string ToQueryString(this IDictionary<string, string[]> query, bool urlEncode = false)
Parameters
query
IDictionary<String, String[]>The IDictionary<TKey,TValue> to extend.
urlEncode
BooleanSpecify
true
to encode thequery
into a URL-encoded string; otherwise,false
. Default isfalse
.