Lines Matching refs:TValue
55 public static TValue get<TKey, TValue>( this IDictionary<TKey, TValue> map, TKey key ) in get()
57 TValue value; in get()
61 if ( typeof( TValue ).IsValueType ) in get()
64 return default( TValue ); in get()
68 public static TValue get<TKey, TValue>( this Dictionary<TKey, TValue> map, TKey key ) in get()
70 TValue value; in get()
74 if ( typeof( TValue ).IsValueType ) in get()
77 return default( TValue ); in get()
80 public static TValue get<TKey, TValue>( this SortedList<TKey, TValue> map, TKey key ) in get()
82 TValue value; in get()
86 if ( typeof( TValue ).IsValueType ) in get()
89 return default( TValue ); in get()
99 … public static void put<TKey, TValue>( this IDictionary<TKey, TValue> map, TKey key, TValue value ) in put()
105 … public static void put<TKey, TValue>( this Dictionary<TKey, TValue> map, TKey key, TValue value ) in put()
117 public static HashSet<TKey> keySet<TKey, TValue>( this IDictionary<TKey, TValue> map ) in keySet()
124 public static HashSet<TKey> keySet<TKey, TValue>( this Dictionary<TKey, TValue> map ) in keySet()
130 public static HashSet<object> keySet<TKey, TValue>( this SortedList<TKey, TValue> map ) in keySet()