diff options
Diffstat (limited to 'MediaBrowser.WebDashboard/ServerEntryPoint.cs')
| -rw-r--r-- | MediaBrowser.WebDashboard/ServerEntryPoint.cs | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/MediaBrowser.WebDashboard/ServerEntryPoint.cs b/MediaBrowser.WebDashboard/ServerEntryPoint.cs deleted file mode 100644 index 18ed54a78..000000000 --- a/MediaBrowser.WebDashboard/ServerEntryPoint.cs +++ /dev/null @@ -1,38 +0,0 @@ -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; -using MediaBrowser.Common; -using MediaBrowser.Controller.Plugins; - -namespace MediaBrowser.WebDashboard -{ - public 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 Task RunAsync() - { - PluginConfigurationPages = _appHost.GetExports<IPluginConfigurationPage>().ToList(); - - return Task.CompletedTask; - } - - public void Dispose() - { - } - } -} |
