Re-Write without checking mapped
This commit is contained in:
11
Shared/Models/Stateless/Methods/ISortingContainer.cs
Normal file
11
Shared/Models/Stateless/Methods/ISortingContainer.cs
Normal file
@ -0,0 +1,11 @@
|
||||
namespace View_by_Distance.Shared.Models.Stateless.Methods;
|
||||
|
||||
public interface ISortingContainer
|
||||
{ // ...
|
||||
|
||||
Models.SortingContainer[] TestStatic_Sort(List<Models.SortingContainer> collection) =>
|
||||
Sort(collection);
|
||||
static Models.SortingContainer[] Sort(List<Models.SortingContainer> collection) =>
|
||||
(from l in collection orderby l.Sorting.WithinRange, l.Sorting.DistancePermyriad, l.Sorting.DaysDelta select l).ToArray();
|
||||
|
||||
}
|
Reference in New Issue
Block a user