aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Attributes/AcceptsImageFileAttribute.cs
blob: 244a29da45361af584e463c5a6553d14549f3656 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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)
        {
        }
    }
}