public static Dictionary <TKey, T> ToDictionary <TKey, T>(this IEnumerable <T> list, Expression <Func <T, TKey> > keyProperty) { return(DataSerializer.ConvertIEnumerableToDictionaryOfType(list, keyProperty)); }
public static Dictionary <TKey, T> ToDictionary <TKey, T>(this IEnumerable <T> list) where T : Cope <T>, IManageable, new() { return(DataSerializer.ConvertIEnumerableToDictionaryOfType <TKey, T>(list)); }
public static Dictionary <TKey, T> ToDictionary <TKey, T>(this IEnumerable <T> list, string keyPropertyName) { return(DataSerializer.ConvertIEnumerableToDictionaryOfType <TKey, T>(list, keyPropertyName)); }