#pragma warning disable CA1813 // Avoid unsealed attributes
using System;
namespace Jellyfin.Api.Attributes;
///
/// Internal produces image attribute.
///
[AttributeUsage(AttributeTargets.Method)]
public class AcceptsFileAttribute : Attribute
{
private readonly string[] _contentTypes;
///
/// Initializes a new instance of the class.
///
/// Content types this endpoint produces.
public AcceptsFileAttribute(params string[] contentTypes)
{
_contentTypes = contentTypes;
}
///
/// Gets the configured content types.
///
/// the configured content types.
public string[] ContentTypes => _contentTypes;
}