using MediaBrowser.Common; using MediaBrowser.Controller.Plugins; using System.Collections.Generic; namespace MediaBrowser.WebDashboard { public class ServerEntryPoint : IServerEntryPoint { /// /// Gets the list of plugin configuration pages /// /// The configuration pages. public IEnumerable PluginConfigurationPages { get; private set; } private readonly IApplicationHost _appHost; public static ServerEntryPoint Instance { get; private set; } public ServerEntryPoint(IApplicationHost appHost) { _appHost = appHost; Instance = this; } public void Run() { PluginConfigurationPages = _appHost.GetExports(); } public void Dispose() { } } }