jellyfin-server/Jellyfin.Api/Attributes/AcceptsImageFileAttribute.cs

19 lines
490 B
C#
Raw Normal View History

2021-02-10 23:12:52 +00:00
namespace Jellyfin.Api.Attributes
{
/// <summary>
/// Produces file attribute of "image/*".
/// </summary>
public class AcceptsImageFileAttribute : AcceptsFileAttribute
{
private const string ContentType = "image/*";
/// <summary>
/// Initializes a new instance of the <see cref="AcceptsImageFileAttribute"/> class.
/// </summary>
public AcceptsImageFileAttribute()
: base(ContentType)
{
}
}
}