C# / .Net API Library Reference  4.3.2-74-ge1d4cca
Public Static Functions
ParameterMap Class Reference

Utility class to create parameter maps from strings and to format parameter maps into strings.

Public Static Functions

static string Format (IDictionary< string, string > parameterMap)
 
static IDictionary< string, string > Parse (string parameters)
 

Usage Description

static string Format ( IDictionary< string, string >  parameterMap)
inlinestatic

Creates a string representation of the specified parameter map. Will return null if the passed-in parameter is null.

static IDictionary<string, string> Parse ( string  parameters)
inlinestatic

Creates a dictionary from a parameter string. The parameter string may contain zero or more key value pairs in the form key1=value1;key2=value2;...;keyn=valuen.

If a key is repeated, only the last value for that key is kept in the Dictionary that is returned.

Parameters
parametersThe parameter map, or null if the passed in parameters string is null.