jellyfin/Jellyfin.Api/Attributes/AcceptsImageFileAttribute.cs

18 lines
439 B
C#
Raw Normal View History

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