C# Class MediaAppSample.Core.GeneralFunctions

Mostrar archivo Open project: Microsoft/TVHelpers

Public Methods

Method Description
CreateQuerystring ( string>.IDictionary parameters ) : string

Converts a dictionary of key/value pairs into a query string.

HexToColor ( string hexColor ) : Color

Converts a string hex color value to a Windows.UI.Color object instance.

ParseQuerystring ( string querystring ) : string>.IDictionary

Parses a query string into a dictionary of key/value pairs of each parameter in the string.

Method Details

CreateQuerystring() public static method

Converts a dictionary of key/value pairs into a query string.
public static CreateQuerystring ( string>.IDictionary parameters ) : string
parameters string>.IDictionary Key/value pairs of parameters.
return string

HexToColor() public static method

Converts a string hex color value to a Windows.UI.Color object instance.
public static HexToColor ( string hexColor ) : Color
hexColor string Hex value of the color.
return Color

ParseQuerystring() public static method

Parses a query string into a dictionary of key/value pairs of each parameter in the string.
public static ParseQuerystring ( string querystring ) : string>.IDictionary
querystring string Query string to parse.
return string>.IDictionary