Improve this Doc View Source

Class UriParseExtensions

Uri extensions which help with parsing

Inheritance
System.Object
UriParseExtensions
Namespace:Dapplo.HttpExtensions
Assembly:Dapplo.HttpExtensions.dll
Syntax
public class UriParseExtensions

Methods

| Improve this Doc View Source

QueryStringToDictionary(String)

Query-string To Dictionary creates a IDictionary

Declaration
public static IDictionary<string, string> QueryStringToDictionary(string queryString)
Parameters
Type Name Description
System.String queryString

query string which is processed

Returns
Type Description
System.Collections.Generic.IDictionary<System.String, System.String>

IDictionary string, string

| Improve this Doc View Source

QueryStringToKeyValuePairs(String)

Query-string To KeyValuePairs creates a List with KeyValuePair which have the name-values

Declaration
public static IEnumerable<KeyValuePair<string, string>> QueryStringToKeyValuePairs(string queryString)
Parameters
Type Name Description
System.String queryString

query string which is processed

Returns
Type Description
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, System.String>>

List KeyValuePair string, string

| Improve this Doc View Source

QueryToDictionary(Uri)

QueryToDictionary creates a IDictionary with name-values

Declaration
public static IDictionary<string, string> QueryToDictionary(Uri uri)
Parameters
Type Name Description
System.Uri uri

Uri of which the query is processed

Returns
Type Description
System.Collections.Generic.IDictionary<System.String, System.String>

IDictionary string, string

| Improve this Doc View Source

QueryToKeyValuePairs(Uri)

QueryToKeyValuePairs creates a List with KeyValuePair which have the name-values

Declaration
public static IEnumerable<KeyValuePair<string, string>> QueryToKeyValuePairs(Uri uri)
Parameters
Type Name Description
System.Uri uri

Uri of which the query is processed

Returns
Type Description
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, System.String>>

List KeyValuePair string, string

| Improve this Doc View Source

QueryToLookup(Uri)

QueryToLookup creates a ILookup with name-values

Declaration
public static ILookup<string, string> QueryToLookup(Uri uri)
Parameters
Type Name Description
System.Uri uri

Uri of which the query is processed

Returns
Type Description
System.Linq.ILookup<System.String, System.String>

ILookup string, string