Bart De Smet
|
8be4811163
Moving to Async naming convention.
|
7 years ago |
Bart De Smet
|
aacb761f40
Switch to ValueTask for predicates, selectors, etc. We await those ourselves and they are expected to be called in a high-frequency manner, so this seems to be the right choice. The only drawback is when these operators are used using method group conversion of a Task-returning async method, which is likely rare in query expressions where one typically uses (async) lambdas, and there's a workaround Task-to-ValueTask conversion. We can't overload on ValueTask and Task return types, so this seems the best way forward.
|
7 years ago |
Bart De Smet
|
cfd11d1c62
Adding BCL style exception factories.
|
7 years ago |
Bart De Smet
|
8ca4d672cc
A few small optimizations.
|
7 years ago |
Bart De Smet
|
038c04af2e
Fix loop in First.
|
7 years ago |
Bart De Smet
|
051f53ecf5
Minor simplification of the code.
|
7 years ago |
Bart De Smet
|
69a02b3516
Optimize First.
|
7 years ago |
Bart De Smet
|
743e98cf90
Using Core pattern for First, Last, Single.
|
7 years ago |
Bart De Smet
|
4847c39521
Modernize some code.
|
7 years ago |
Bart De Smet
|
271688e421
Adapting to GetAsyncEnumerator(CancellationToken) interface change.
|
7 years ago |
Bart De Smet
|
bcd0512515
Feeding CancellationToken to IAsyncPartition operations.
|
8 years ago |
Bart De Smet
|
e9f72835b4
Renaming IAsyncPartition methods to use Async suffix.
|
8 years ago |
Bart De Smet
|
df9874703a
Supporting IAsyncPartition in [First|Last|ElementAt][OrDefaut].
|
8 years ago |
Bart De Smet
|
ba258fdb70
Simplifying some logic in First[OrDefault].
|
8 years ago |
Bart De Smet
|
2e45ab5b38
Renaming some methods to use Core suffix.
|
8 years ago |
Bart De Smet
|
3c7f7f1637
Splitting First and FirstOrDefault.
|
8 years ago |