C# Класс Microsoft.WindowsAzure.MobileServices.MobileServiceTableUrlBuilder

A static helper class for building URLs for Mobile Service tables.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
CombinePathAndQuery ( string path, string queryString ) : string

Concatenates the URI query string to the URI path.

GetQueryString ( string>.IDictionary parameters ) : string

Converts a dictionary of string key-value pairs into a URI query string

GetUriFragment ( string tableName ) : string

Get a uri fragment representing the resource corresponding to the table.

GetUriFragment ( string tableName, JsonObject instance ) : string

Get a uri fragment representing the resource corresponding to the given instance in the table.

GetUriFragment ( string tableName, object id ) : string

Get a uri fragment representing the resource corresponding to the given id in the table.

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

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

Concatenates the URI query string to the URI path.
public static CombinePathAndQuery ( string path, string queryString ) : string
path string The URI path
queryString string The query string.
Результат string

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

Converts a dictionary of string key-value pairs into a URI query string
public static GetQueryString ( string>.IDictionary parameters ) : string
parameters string>.IDictionary The parameters from which to create a query string.
Результат string

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

Get a uri fragment representing the resource corresponding to the table.
public static GetUriFragment ( string tableName ) : string
tableName string The name of the table.
Результат string

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

Get a uri fragment representing the resource corresponding to the given instance in the table.
public static GetUriFragment ( string tableName, JsonObject instance ) : string
tableName string The name of the table.
instance JsonObject The instance.
Результат string

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

Get a uri fragment representing the resource corresponding to the given id in the table.
public static GetUriFragment ( string tableName, object id ) : string
tableName string The name of the table.
id object The id of the instance.
Результат string