aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Providers/ImageProviderInfo.cs
blob: 19af81c857e3ea59a1185fc11b18fad4eb6f2762 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
using MediaBrowser.Model.Entities;

namespace MediaBrowser.Model.Providers
{
    /// <summary>
    /// Class ImageProviderInfo.
    /// </summary>
    public class ImageProviderInfo
    {
        /// <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;
        }

        /// <summary>
        /// Gets the name.
        /// </summary>
        /// <value>The name.</value>
        public string Name { get; }

        /// <summary>
        /// Gets the supported image types.
        /// </summary>
        public ImageType[] SupportedImages { get; }
    }
}