jellyfin/Jellyfin.Api/Attributes/AcceptsImageFileAttribute.cs

19 lines
497 B
C#
Raw Normal View History

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