Ejemplo n.º 1
0
 public String this[String key, KeySuffix keySuffix]
 {
     get
     {
         String result;
         if (values.TryGetValue(AppendKeySuffix(key, keySuffix), out result))
         {
             return(result);
         }
         else
         {
             return("[No entry found for \"" + AppendKeySuffix(key, keySuffix) + "\"]");
         }
     }
 }
Ejemplo n.º 2
0
 public String this[String key, KeySuffix keySuffix]
 {
     get
     {
         String result;
         if (values.TryGetValue(AppendKeySuffix(key, keySuffix), out result))
         {
             return result;
         }
         else
         {
             return "[No entry found for \"" + AppendKeySuffix(key, keySuffix) + "\"]";
         }
     }
 }
Ejemplo n.º 3
0
 private static String AppendKeySuffix(String input, KeySuffix keySuffix)
 {
     return(input + "_" + keySuffix.ToString().ToLower());
 }
Ejemplo n.º 4
0
 private static String AppendKeySuffix(String input, KeySuffix keySuffix)
 {
     return input + "_" + keySuffix.ToString().ToLower();
 }