You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
using System.Net.Mime;
|
|
|
|
using Microsoft.AspNetCore.Mvc.Formatters;
|
|
|
|
|
|
|
|
namespace Jellyfin.Api.Formatters;
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Css output formatter.
|
|
|
|
/// </summary>
|
|
|
|
public sealed class CssOutputFormatter : StringOutputFormatter
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Initializes a new instance of the <see cref="CssOutputFormatter"/> class.
|
|
|
|
/// </summary>
|
|
|
|
public CssOutputFormatter()
|
|
|
|
{
|
|
|
|
SupportedMediaTypes.Clear();
|
|
|
|
SupportedMediaTypes.Add(MediaTypeNames.Text.Css);
|
|
|
|
}
|
|
|
|
}
|