jellyfin-server/MediaBrowser.Model/Providers/ImageProviderInfo.cs

33 lines
952 B
C#
Raw Normal View History

using MediaBrowser.Model.Entities;
2018-12-27 23:27:57 +00:00
namespace MediaBrowser.Model.Providers
{
/// <summary>
/// Class ImageProviderInfo.
/// </summary>
public class ImageProviderInfo
{
2020-04-15 09:18:13 +00: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 23:27:57 +00:00
/// <summary>
2020-04-09 17:22:29 +00:00
/// Gets the name.
2018-12-27 23:27:57 +00:00
/// </summary>
/// <value>The name.</value>
2020-04-09 17:22:29 +00:00
public string Name { get; }
2018-12-27 23:27:57 +00:00
2020-04-09 17:22:29 +00:00
/// <summary>
/// Gets the supported image types.
/// </summary>
public ImageType[] SupportedImages { get; }
2018-12-27 23:27:57 +00:00
}
}