PluginPageInfo.cs 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #nullable enable
  2. namespace MediaBrowser.Model.Plugins
  3. {
  4. /// <summary>
  5. /// Defines the <see cref="PluginPageInfo" />.
  6. /// </summary>
  7. public class PluginPageInfo
  8. {
  9. /// <summary>
  10. /// Gets or sets the name.
  11. /// </summary>
  12. public string Name { get; set; } = string.Empty;
  13. /// <summary>
  14. /// Gets or sets the display name.
  15. /// </summary>
  16. public string? DisplayName { get; set; }
  17. /// <summary>
  18. /// Gets or sets the resource path.
  19. /// </summary>
  20. public string EmbeddedResourcePath { get; set; } = string.Empty;
  21. /// <summary>
  22. /// Gets or sets a value indicating whether this plugin should appear in the main menu.
  23. /// </summary>
  24. public bool EnableInMainMenu { get; set; }
  25. /// <summary>
  26. /// Gets or sets the menu section.
  27. /// </summary>
  28. public string? MenuSection { get; set; }
  29. /// <summary>
  30. /// Gets or sets the menu icon.
  31. /// </summary>
  32. public string? MenuIcon { get; set; }
  33. }
  34. }