aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Entities/UserItemData.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2021-08-16 00:06:40 +0200
committerGitHub <noreply@github.com>2021-08-16 00:06:40 +0200
commitdb0d5b048a2ced6538604c8aceaeb832ac2ce694 (patch)
tree72873f46a8adaca0bfec6932840137bf2d814242 /MediaBrowser.Controller/Entities/UserItemData.cs
parentd3f291f1591cc96a032cd0b68d10035eb8f11b75 (diff)
parente7a3552aae556a5afa58207db353f10de9021274 (diff)
Merge pull request #6423 from richlander/mediabrowser-controller
Fix warnings in MediaBrowser.Controller
Diffstat (limited to 'MediaBrowser.Controller/Entities/UserItemData.cs')
-rw-r--r--MediaBrowser.Controller/Entities/UserItemData.cs14
1 files changed, 7 insertions, 7 deletions
diff --git a/MediaBrowser.Controller/Entities/UserItemData.cs b/MediaBrowser.Controller/Entities/UserItemData.cs
index 6ab2116d7..50ba9ef30 100644
--- a/MediaBrowser.Controller/Entities/UserItemData.cs
+++ b/MediaBrowser.Controller/Entities/UserItemData.cs
@@ -12,6 +12,13 @@ namespace MediaBrowser.Controller.Entities
/// </summary>
public class UserItemData
{
+ public const double MinLikeValue = 6.5;
+
+ /// <summary>
+ /// The _rating.
+ /// </summary>
+ private double? _rating;
+
/// <summary>
/// Gets or sets the user id.
/// </summary>
@@ -25,11 +32,6 @@ namespace MediaBrowser.Controller.Entities
public string Key { get; set; }
/// <summary>
- /// The _rating.
- /// </summary>
- private double? _rating;
-
- /// <summary>
/// Gets or sets the users 0-10 rating.
/// </summary>
/// <value>The rating.</value>
@@ -93,8 +95,6 @@ namespace MediaBrowser.Controller.Entities
/// <value>The index of the subtitle stream.</value>
public int? SubtitleStreamIndex { get; set; }
- public const double MinLikeValue = 6.5;
-
/// <summary>
/// Gets or sets a value indicating whether the item is liked or not.
/// This should never be serialized.