コード例 #1
0
 public static IDictionary <TKey, TValue> ToDictionary <TKey, TValue>(this IEnumerable <KeyValuePair <TKey, TValue> > source)
 {
     return(DictConv.ToDictionary(source));
 }
コード例 #2
0
 public static IDictionary <TKey, TValue> ToDictionary <TKey, TValue>(this IEnumerable <KeyValuePair <TKey, TValue> > source, IEqualityComparer <TKey> equalityComparer)
 {
     return(DictConv.ToDictionary(source, equalityComparer));
 }
コード例 #3
0
 public static Dictionary <TKey, TValue> ToDictionary <TKey, TValue>(this Hashtable hash)
 {
     return(DictConv.ToDictionary <TKey, TValue>(hash));
 }