Ejemplo n.º 1
0
 public static IDictionary <TKey, TValue> ToDictionary <TKey, TValue>(this IEnumerable <KeyValuePair <TKey, TValue> > source)
 {
     return(DictConv.ToDictionary(source));
 }
Ejemplo n.º 2
0
 public static IDictionary <TKey, TValue> ToDictionary <TKey, TValue>(this IEnumerable <KeyValuePair <TKey, TValue> > source, IEqualityComparer <TKey> equalityComparer)
 {
     return(DictConv.ToDictionary(source, equalityComparer));
 }
Ejemplo n.º 3
0
 public static Dictionary <TKey, TValue> ToDictionary <TKey, TValue>(this Hashtable hash)
 {
     return(DictConv.ToDictionary <TKey, TValue>(hash));
 }