Files
jellyfin-jellyfin-1/Jellyfin.Api/Attributes/AcceptsImageFileAttribute.cs

18 lines
436 B
C#
Raw Normal View History

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