aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Sorting/NameComparer.cs
diff options
context:
space:
mode:
authorPatrick Barron <barronpm@gmail.com>2021-10-02 13:23:05 -0400
committerPatrick Barron <barronpm@gmail.com>2021-10-03 21:41:22 -0400
commit078200d8d4ba6d986cce8881b17d30b82e58b038 (patch)
tree84b9b5f478d08f6565a0a5b8bd33372f3886b47d /Emby.Server.Implementations/Sorting/NameComparer.cs
parent1888e7ac216d4a06d3cf1675a820f034b3099740 (diff)
Fix warnings in Sorting
Diffstat (limited to 'Emby.Server.Implementations/Sorting/NameComparer.cs')
-rw-r--r--Emby.Server.Implementations/Sorting/NameComparer.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/Emby.Server.Implementations/Sorting/NameComparer.cs b/Emby.Server.Implementations/Sorting/NameComparer.cs
index 4de81a69e..8f87717f4 100644
--- a/Emby.Server.Implementations/Sorting/NameComparer.cs
+++ b/Emby.Server.Implementations/Sorting/NameComparer.cs
@@ -11,6 +11,12 @@ namespace Emby.Server.Implementations.Sorting
public class NameComparer : IBaseItemComparer
{
/// <summary>
+ /// Gets the name.
+ /// </summary>
+ /// <value>The name.</value>
+ public string Name => ItemSortBy.Name;
+
+ /// <summary>
/// Compares the specified x.
/// </summary>
/// <param name="x">The x.</param>
@@ -30,11 +36,5 @@ namespace Emby.Server.Implementations.Sorting
return string.Compare(x.Name, y.Name, StringComparison.CurrentCultureIgnoreCase);
}
-
- /// <summary>
- /// Gets the name.
- /// </summary>
- /// <value>The name.</value>
- public string Name => ItemSortBy.Name;
}
}