2019-01-13 20:02:23 +00:00
|
|
|
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>
|
2020-04-05 16:10:56 +00:00
|
|
|
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
|
|
|
}
|
|
|
|
}
|