PluginPageInfo.cs 1.1 KB

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