diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-10-26 02:01:42 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-10-26 02:01:42 -0400 |
| commit | 4b51233cc8faeea344661a2a3427579e534d8ea4 (patch) | |
| tree | 677a8e2e8ba58791e866333f2d2acabe3e7e3f8a /MediaBrowser.WebDashboard/ServerEntryPoint.cs | |
| parent | eb669782076450c9448289c64387a8e0858fb70b (diff) | |
update plugin interfaces
Diffstat (limited to 'MediaBrowser.WebDashboard/ServerEntryPoint.cs')
| -rw-r--r-- | MediaBrowser.WebDashboard/ServerEntryPoint.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/MediaBrowser.WebDashboard/ServerEntryPoint.cs b/MediaBrowser.WebDashboard/ServerEntryPoint.cs index 690c07d8ff..b939e41070 100644 --- a/MediaBrowser.WebDashboard/ServerEntryPoint.cs +++ b/MediaBrowser.WebDashboard/ServerEntryPoint.cs @@ -1,6 +1,7 @@ using MediaBrowser.Common; using MediaBrowser.Controller.Plugins; using System.Collections.Generic; +using System.Linq; namespace MediaBrowser.WebDashboard { @@ -10,7 +11,7 @@ namespace MediaBrowser.WebDashboard /// Gets the list of plugin configuration pages /// </summary> /// <value>The configuration pages.</value> - public IEnumerable<IPluginConfigurationPage> PluginConfigurationPages { get; private set; } + public List<IPluginConfigurationPage> PluginConfigurationPages { get; private set; } private readonly IApplicationHost _appHost; @@ -24,7 +25,7 @@ namespace MediaBrowser.WebDashboard public void Run() { - PluginConfigurationPages = _appHost.GetExports<IPluginConfigurationPage>(); + PluginConfigurationPages = _appHost.GetExports<IPluginConfigurationPage>().ToList(); } public void Dispose() |
