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

@@ -10,6 +10,12 @@ namespace Emby.Server.Implementations.Sorting
/// </summary>
public class RandomComparer : IBaseItemComparer
{
/// <summary>
/// Gets the name.
/// </summary>
/// <value>The name.</value>
public string Name => ItemSortBy.Random;
/// <summary>
/// Compares the specified x.
/// </summary>
@@ -20,11 +26,5 @@ namespace Emby.Server.Implementations.Sorting
{
return Guid.NewGuid().CompareTo(Guid.NewGuid());
}
/// <summary>
/// Gets the name.
/// </summary>
/// <value>The name.</value>
public string Name => ItemSortBy.Random;
}
}