LinqExtensions Class |
Namespace: Omada.OE.Model.Extensions
public static class LinqExtensions
The LinqExtensions type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | OrderBySequenceT, TId |
Sorts the elements of a sequence based
on the sorting of another sequence
|
![]() ![]() | OrderByWithDirectionTSource, TKey |
Sorts the elements of a sequence according to the key
with the provided order
|
![]() ![]() | ParallelForEachAsCurrentIdentityT |
Runs the action in parallel for each item in the list, as the identity in the context
This should be used instead of Parallel.ForEach, since Parallel.ForEach is not guaranteed to keep the impersonation context.
More on this can be found here: https://stackoverflow.com/questions/26065155/parallel-foreach-changes-impersonation-context
|