aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Plugins/PluginPageInfo.cs
diff options
context:
space:
mode:
authorJoshua M. Boniface <joshua@boniface.me>2020-12-31 18:47:05 -0500
committerGitHub <noreply@github.com>2020-12-31 18:47:05 -0500
commit406ae3e43a20216292c554151fa2d0e2a09edfa3 (patch)
tree288ceeb9831470d5f573fccc6619f23b259c5531 /MediaBrowser.Model/Plugins/PluginPageInfo.cs
parente006cc8ac32ac470a203f60dfd49cbe3acc999e7 (diff)
parentbd1c115e46795f7db38366d31de79bf2ff88ca8d (diff)
Merge pull request #4709 from BaronGreenback/PluginDowngrade
Diffstat (limited to 'MediaBrowser.Model/Plugins/PluginPageInfo.cs')
-rw-r--r--MediaBrowser.Model/Plugins/PluginPageInfo.cs34
1 files changed, 27 insertions, 7 deletions
diff --git a/MediaBrowser.Model/Plugins/PluginPageInfo.cs b/MediaBrowser.Model/Plugins/PluginPageInfo.cs
index ca72e19ee..85c0aa204 100644
--- a/MediaBrowser.Model/Plugins/PluginPageInfo.cs
+++ b/MediaBrowser.Model/Plugins/PluginPageInfo.cs
@@ -1,20 +1,40 @@
-#nullable disable
-#pragma warning disable CS1591
+#nullable enable
namespace MediaBrowser.Model.Plugins
{
+ /// <summary>
+ /// Defines the <see cref="PluginPageInfo" />.
+ /// </summary>
public class PluginPageInfo
{
- public string Name { get; set; }
+ /// <summary>
+ /// Gets or sets the name.
+ /// </summary>
+ public string Name { get; set; } = string.Empty;
- public string DisplayName { get; set; }
+ /// <summary>
+ /// Gets or sets the display name.
+ /// </summary>
+ public string? DisplayName { get; set; }
- public string EmbeddedResourcePath { get; set; }
+ /// <summary>
+ /// Gets or sets the resource path.
+ /// </summary>
+ public string EmbeddedResourcePath { get; set; } = string.Empty;
+ /// <summary>
+ /// Gets or sets a value indicating whether this plugin should appear in the main menu.
+ /// </summary>
public bool EnableInMainMenu { get; set; }
- public string MenuSection { get; set; }
+ /// <summary>
+ /// Gets or sets the menu section.
+ /// </summary>
+ public string? MenuSection { get; set; }
- public string MenuIcon { get; set; }
+ /// <summary>
+ /// Gets or sets the menu icon.
+ /// </summary>
+ public string? MenuIcon { get; set; }
}
}