NameValueCollectionWrapperExtensions
Assembly: ServiceStack.Client.dll
View Source
Declaration
public static class NameValueCollectionWrapperExtensions
Methods
Clone(NameValueCollection)
View Source
Declaration
public static NameValueCollection Clone(this NameValueCollection nameValues)
Returns
System.Collections.Specialized.NameValueCollection
Parameters
Type | Name |
---|---|
System.Collections.Specialized.NameValueCollection | nameValues |
ToDictionary(NameValueCollection)
View Source
Declaration
public static Dictionary<string, string> ToDictionary(this NameValueCollection nameValues)
Returns
System.Collections.Generic.Dictionary<System.String,System.String>
Parameters
Type | Name |
---|---|
System.Collections.Specialized.NameValueCollection | nameValues |
ToNameValueCollection(Dictionary<String, String>)
View Source
Declaration
public static NameValueCollection ToNameValueCollection(this Dictionary<string, string> map)
Returns
System.Collections.Specialized.NameValueCollection
Parameters
Type | Name |
---|---|
System.Collections.Generic.Dictionary<System.String,System.String> | map |
ToFormUrlEncoded(NameValueCollection)
View Source
Declaration
public static string ToFormUrlEncoded(this NameValueCollection queryParams)
Returns
System.String
Parameters
Type | Name |
---|---|
System.Collections.Specialized.NameValueCollection | queryParams |
AddQueryParam(IHasQueryParams, String, String)
View Source
Declaration
public static void AddQueryParam(this IHasQueryParams queryParams, string key, string value)
Parameters
Type | Name |
---|---|
ServiceStack.IHasQueryParams | queryParams |
System.String | key |
System.String | value |