diff options
| author | Bond-009 <bond.009@outlook.com> | 2021-10-06 10:47:40 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-06 10:47:40 +0200 |
| commit | a1246ba3a080cc20ff1c8e64b39a501065cc39b0 (patch) | |
| tree | cec616f27606c5ab0e217f5192eb3e2a5e582a20 /Emby.Server.Implementations/Sorting/RuntimeComparer.cs | |
| parent | d245e45254057c62d058cfad3e56484a77093718 (diff) | |
| parent | e0db541381a669ff5ba618e618e162ba0d0ef1c9 (diff) | |
Merge pull request #6649 from barronpm/implementations-warn2
Diffstat (limited to 'Emby.Server.Implementations/Sorting/RuntimeComparer.cs')
| -rw-r--r-- | Emby.Server.Implementations/Sorting/RuntimeComparer.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Emby.Server.Implementations/Sorting/RuntimeComparer.cs b/Emby.Server.Implementations/Sorting/RuntimeComparer.cs index 129315303..e32e5552e 100644 --- a/Emby.Server.Implementations/Sorting/RuntimeComparer.cs +++ b/Emby.Server.Implementations/Sorting/RuntimeComparer.cs @@ -13,6 +13,12 @@ namespace Emby.Server.Implementations.Sorting public class RuntimeComparer : IBaseItemComparer { /// <summary> + /// Gets the name. + /// </summary> + /// <value>The name.</value> + public string Name => ItemSortBy.Runtime; + + /// <summary> /// Compares the specified x. /// </summary> /// <param name="x">The x.</param> @@ -32,11 +38,5 @@ namespace Emby.Server.Implementations.Sorting return (x.RunTimeTicks ?? 0).CompareTo(y.RunTimeTicks ?? 0); } - - /// <summary> - /// Gets the name. - /// </summary> - /// <value>The name.</value> - public string Name => ItemSortBy.Runtime; } } |
