C# Class Microsoft.WindowsAzure.MobileServices.MobileServiceTableUrlBuilder

A static helper class for building URLs for Mobile Service tables.
Exibir arquivo Open project: xamarin/azure-mobile-services Class Usage Examples

Public Methods

Method Description
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.

Method Details

CombinePathAndQuery() public static method

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.
return string

GetQueryString() public static method

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.
return string

GetUriFragment() public static method

Get a uri fragment representing the resource corresponding to the table.
public static GetUriFragment ( string tableName ) : string
tableName string The name of the table.
return string

GetUriFragment() public static method

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.
return string

GetUriFragment() public static method

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.
return string