Fix warnings in Sorting

This commit is contained in:
Patrick Barron
2021-10-02 13:23:05 -04:00
parent 1888e7ac21
commit 078200d8d4
14 changed files with 96 additions and 96 deletions

View File

@@ -9,6 +9,12 @@ namespace Emby.Server.Implementations.Sorting
/// </summary>
public class CriticRatingComparer : IBaseItemComparer
{
/// <summary>
/// Gets the name.
/// </summary>
/// <value>The name.</value>
public string Name => ItemSortBy.CriticRating;
/// <summary>
/// Compares the specified x.
/// </summary>
@@ -24,11 +30,5 @@ namespace Emby.Server.Implementations.Sorting
{
return x?.CriticRating ?? 0;
}
/// <summary>
/// Gets the name.
/// </summary>
/// <value>The name.</value>
public string Name => ItemSortBy.CriticRating;
}
}