jellyfin/MediaBrowser.Model/Providers/ImageProviderInfo.cs

33 lines
952 B
C#
Raw Normal View History

using MediaBrowser.Model.Entities;
2018-12-27 16:27:57 -07:00
namespace MediaBrowser.Model.Providers
{
/// <summary>
/// Class ImageProviderInfo.
/// </summary>
public class ImageProviderInfo
{
2020-04-15 02:18:13 -07:00
/// <summary>
/// Initializes a new instance of the <see cref="ImageProviderInfo" /> class.
/// </summary>
/// <param name="name">The name of the image provider.</param>
/// <param name="supportedImages">The image types supported by the image provider.</param>
public ImageProviderInfo(string name, ImageType[] supportedImages)
{
Name = name;
SupportedImages = supportedImages;
}
2018-12-27 16:27:57 -07:00
/// <summary>
2020-04-09 10:22:29 -07:00
/// Gets the name.
2018-12-27 16:27:57 -07:00
/// </summary>
/// <value>The name.</value>
2020-04-09 10:22:29 -07:00
public string Name { get; }
2018-12-27 16:27:57 -07:00
2020-04-09 10:22:29 -07:00
/// <summary>
/// Gets the supported image types.
/// </summary>
public ImageType[] SupportedImages { get; }
2018-12-27 16:27:57 -07:00
}
}