aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.WebDashboard/ServerEntryPoint.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.WebDashboard/ServerEntryPoint.cs')
-rw-r--r--MediaBrowser.WebDashboard/ServerEntryPoint.cs22
1 files changed, 13 insertions, 9 deletions
diff --git a/MediaBrowser.WebDashboard/ServerEntryPoint.cs b/MediaBrowser.WebDashboard/ServerEntryPoint.cs
index 18ed54a78..5c7e8b3c7 100644
--- a/MediaBrowser.WebDashboard/ServerEntryPoint.cs
+++ b/MediaBrowser.WebDashboard/ServerEntryPoint.cs
@@ -1,3 +1,5 @@
+#pragma warning disable CS1591
+
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
@@ -6,24 +8,25 @@ using MediaBrowser.Controller.Plugins;
namespace MediaBrowser.WebDashboard
{
- public class ServerEntryPoint : IServerEntryPoint
+ public sealed class ServerEntryPoint : IServerEntryPoint
{
- /// <summary>
- /// Gets the list of plugin configuration pages
- /// </summary>
- /// <value>The configuration pages.</value>
- public List<IPluginConfigurationPage> PluginConfigurationPages { get; private set; }
-
private readonly IApplicationHost _appHost;
- public static ServerEntryPoint Instance { get; private set; }
-
public ServerEntryPoint(IApplicationHost appHost)
{
_appHost = appHost;
Instance = this;
}
+ public static ServerEntryPoint Instance { get; private set; }
+
+ /// <summary>
+ /// Gets the list of plugin configuration pages.
+ /// </summary>
+ /// <value>The configuration pages.</value>
+ public List<IPluginConfigurationPage> PluginConfigurationPages { get; private set; }
+
+ /// <inheritdoc />
public Task RunAsync()
{
PluginConfigurationPages = _appHost.GetExports<IPluginConfigurationPage>().ToList();
@@ -31,6 +34,7 @@ namespace MediaBrowser.WebDashboard
return Task.CompletedTask;
}
+ /// <inheritdoc />
public void Dispose()
{
}