diff options
| author | crobibero <cody@robibe.ro> | 2020-06-23 11:50:42 -0600 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2020-06-23 11:50:42 -0600 |
| commit | b4a773fde80b35959dbaf88f98ceb169862dba84 (patch) | |
| tree | e0c4ef404a2d10bc17bd1055ce39cdaee4d74f71 /MediaBrowser.WebDashboard/ServerEntryPoint.cs | |
| parent | c4f9112b0dae98a2c80d4126ca9dcd82a2271835 (diff) | |
| parent | 57bf8c17d62d58aa0f09c86da2c2a232e20dbbd6 (diff) | |
Merge remote-tracking branch 'upstream/api-migration' into api-livetv
Diffstat (limited to 'MediaBrowser.WebDashboard/ServerEntryPoint.cs')
| -rw-r--r-- | MediaBrowser.WebDashboard/ServerEntryPoint.cs | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/MediaBrowser.WebDashboard/ServerEntryPoint.cs b/MediaBrowser.WebDashboard/ServerEntryPoint.cs deleted file mode 100644 index 5c7e8b3c7..000000000 --- a/MediaBrowser.WebDashboard/ServerEntryPoint.cs +++ /dev/null @@ -1,42 +0,0 @@ -#pragma warning disable CS1591 - -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; -using MediaBrowser.Common; -using MediaBrowser.Controller.Plugins; - -namespace MediaBrowser.WebDashboard -{ - public sealed class ServerEntryPoint : IServerEntryPoint - { - private readonly IApplicationHost _appHost; - - 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(); - - return Task.CompletedTask; - } - - /// <inheritdoc /> - public void Dispose() - { - } - } -} |
