Beispiel #1
0
 public Task <Dictionary <K, E> > ToDictionaryAsync <T, K, E>(IQueryable <T> source, Func <T, K> keySelector, Func <T, E> elementSelector, IEqualityComparer <K> comparer, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(Extensions.ToDictionaryAsync(source, keySelector, elementSelector, comparer, cancellationToken));
 }
Beispiel #2
0
 public Task <Dictionary <K, T> > ToDictionaryAsync <T, K>(IQueryable <T> source, Func <T, K> keySelector, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(Extensions.ToDictionaryAsync(source, keySelector, cancellationToken));
 }