Exemplo n.º 1
0
 /// <summary>
 /// Adds a key/uint pair to a dictionary. Converts the uint to a string
 /// </summary>
 /// <param name="keywords">The keyword collection to which the key/value pair will be added</param>
 /// <param name="key">The key (string)</param>
 /// <param name="value">The value (uint)</param>
 public static void GetKeyword(Dictionary <string, string> keywords, string key, int value)
 {
     KeywordFromString.GetKeyword(keywords, key, value.ToString());
 }
Exemplo n.º 2
0
 /// <summary>
 /// Creates a dictionary from a string key/int value pair. Converts the integer to a string
 /// </summary>
 /// <param name="key">The key (string)</param>
 /// <param name="value">The value (integer)</param>
 /// <returns>Returns a dictionary with a single string key/value pair</returns>
 public static Dictionary <string, string> GetKeyword(string key, int value)
 {
     return(KeywordFromString.GetKeyword(key, value.ToString()));
 }