C# Класс Ramone.UriExtensions

Показать файл Открыть проект

Открытые методы

Метод Описание
AddQueryParameters ( this url, object parameters ) : Uri

Add query parameters to URL while keeping exiting parameters already specified in the URL.

This method respects repeated keys, such that adding "x=3&x=4" to "x=1&x=2" yields "x=1&x=2&x=3&x=4".

Описание методов

AddQueryParameters() публичный статический Метод

Add query parameters to URL while keeping exiting parameters already specified in the URL.
This method respects repeated keys, such that adding "x=3&x=4" to "x=1&x=2" yields "x=1&x=2&x=3&x=4".
public static AddQueryParameters ( this url, object parameters ) : Uri
url this
parameters object Either IDictionary<string,string>, NameValueCollection or any other /// class where the public properties are added as query parameters.
Результат System.Uri