2
0

ChannelInfo.cs 869 B

123456789101112131415161718192021222324252627282930
  1. using System.Collections.Generic;
  2. namespace MediaBrowser.Controller.Channels
  3. {
  4. public class ChannelInfo
  5. {
  6. /// <summary>
  7. /// Gets the home page URL.
  8. /// </summary>
  9. /// <value>The home page URL.</value>
  10. public string HomePageUrl { get; set; }
  11. /// <summary>
  12. /// Gets or sets a value indicating whether this instance can search.
  13. /// </summary>
  14. /// <value><c>true</c> if this instance can search; otherwise, <c>false</c>.</value>
  15. public bool CanSearch { get; set; }
  16. public List<ChannelMediaType> MediaTypes { get; set; }
  17. public List<ChannelMediaContentType> ContentTypes { get; set; }
  18. public ChannelInfo()
  19. {
  20. MediaTypes = new List<ChannelMediaType>();
  21. ContentTypes = new List<ChannelMediaContentType>();
  22. }
  23. }
  24. }