aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Attributes/AcceptsImageFileAttribute.cs
blob: 26fec5fa0a62be12e6b20ba3f9903569f6a3a60f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
namespace Jellyfin.Api.Attributes;

/// <summary>
/// Produces file attribute of "image/*".
/// </summary>
public sealed class AcceptsImageFileAttribute : AcceptsFileAttribute
{
    private const string ContentType = "image/*";

    /// <summary>
    /// Initializes a new instance of the <see cref="AcceptsImageFileAttribute"/> class.
    /// </summary>
    public AcceptsImageFileAttribute()
        : base(ContentType)
    {
    }
}