BasePluginConfiguration.cs 1017 B

1234567891011121314151617181920212223242526272829303132
  1. using MediaBrowser.Model.Updates;
  2. namespace MediaBrowser.Model.Plugins
  3. {
  4. /// <summary>
  5. /// Class BasePluginConfiguration
  6. /// </summary>
  7. public class BasePluginConfiguration
  8. {
  9. /// <summary>
  10. /// Whether or not this plug-in should be automatically updated when a
  11. /// compatible new version is released
  12. /// </summary>
  13. /// <value><c>true</c> if [enable auto update]; otherwise, <c>false</c>.</value>
  14. public bool EnableAutoUpdate { get; set; }
  15. /// <summary>
  16. /// The classification of updates to which to subscribe.
  17. /// Options are: Dev, Beta or Release
  18. /// </summary>
  19. /// <value>The update class.</value>
  20. public PackageVersionClass UpdateClass { get; set; }
  21. /// <summary>
  22. /// Initializes a new instance of the <see cref="BasePluginConfiguration" /> class.
  23. /// </summary>
  24. public BasePluginConfiguration()
  25. {
  26. EnableAutoUpdate = true;
  27. }
  28. }
  29. }