C# Class Microsoft.WindowsAzure.MobileServices.MobileServiceTableUrlBuilder

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

Méthodes publiques

Méthode 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 méthode

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.
Résultat string

GetQueryString() public static méthode

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.
Résultat string

GetUriFragment() public static méthode

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

GetUriFragment() public static méthode

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.
Résultat string

GetUriFragment() public static méthode

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.
Résultat string