jellyfin/MediaBrowser.Model/Providers/ImageProviderInfo.cs

33 lines
952 B
C#
Raw Normal View History

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