C# 클래스 MediaAppSample.Core.GeneralFunctions

파일 보기 프로젝트 열기: Microsoft/TVHelpers

공개 메소드들

메소드 설명
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.

메소드 상세

CreateQuerystring() 공개 정적인 메소드

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.
리턴 string

HexToColor() 공개 정적인 메소드

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.
리턴 Color

ParseQuerystring() 공개 정적인 메소드

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.
리턴 string>.IDictionary