aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Attributes/AcceptsImageFileAttribute.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Jellyfin.Api/Attributes/AcceptsImageFileAttribute.cs')
-rw-r--r--Jellyfin.Api/Attributes/AcceptsImageFileAttribute.cs23
1 files changed, 11 insertions, 12 deletions
diff --git a/Jellyfin.Api/Attributes/AcceptsImageFileAttribute.cs b/Jellyfin.Api/Attributes/AcceptsImageFileAttribute.cs
index 244a29da4..57433202e 100644
--- a/Jellyfin.Api/Attributes/AcceptsImageFileAttribute.cs
+++ b/Jellyfin.Api/Attributes/AcceptsImageFileAttribute.cs
@@ -1,18 +1,17 @@
-namespace Jellyfin.Api.Attributes
+namespace Jellyfin.Api.Attributes;
+
+/// <summary>
+/// Produces file attribute of "image/*".
+/// </summary>
+public sealed class AcceptsImageFileAttribute : AcceptsFileAttribute
{
+ private const string ContentType = "image/*";
+
/// <summary>
- /// Produces file attribute of "image/*".
+ /// Initializes a new instance of the <see cref="AcceptsImageFileAttribute"/> class.
/// </summary>
- public sealed class AcceptsImageFileAttribute : AcceptsFileAttribute
+ public AcceptsImageFileAttribute()
+ : base(ContentType)
{
- private const string ContentType = "image/*";
-
- /// <summary>
- /// Initializes a new instance of the <see cref="AcceptsImageFileAttribute"/> class.
- /// </summary>
- public AcceptsImageFileAttribute()
- : base(ContentType)
- {
- }
}
}