Exemplo n.º 1
0
 public static T GetValue <T>(this IDictionary <string, object> Dictonary, string Key, bool ThrowException = false)
 {
     return((T)Dictonary.GetValue <string, object>(Key, ThrowException));
 }
Exemplo n.º 2
0
 public TValue this[TKey key]
 {
     get { return(_dictionary.GetValue(key).GetOrDefault(_defaultValue)); }
     set { _dictionary[key] = value; }
 }