aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Sorting/IndexNumberComparer.cs
AgeCommit message (Collapse)Author
2023-11-09Convert ItemSortBy to enum (#9765)Cody Robibero
* Convert ItemSortBy to enum * Rename Unknown to Default
2022-10-06Use ArgumentNullException.ThrowIfNull helper methodBond_009
Did a simple search/replace on the whole repo (except the RSSDP project) This reduces LOC and should improve performance (methods containing a throw statement don't get inlined) ``` if \((\w+) == null\) \s+\{ \s+throw new ArgumentNullException\((.*)\); \s+\} ``` ``` ArgumentNullException.ThrowIfNull($1); ```
2022-04-07Merge pull request #7548 from 1337joe/comparer-null-fixCody Robibero
(cherry picked from commit 72aca1519132315a69d9dad53e4840f461e58285) Signed-off-by: crobibero <cody@robibe.ro>
2022-02-17Implement Comparers for (Parent)IndexNumberMaxr1998
Can be used in item queries to sort by ParentIndexNumber and IndexNumber (used for disc and track numbers for example).