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.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/MediaBrowser.WebDashboard/ServerEntryPoint.cs b/MediaBrowser.WebDashboard/ServerEntryPoint.cs
index 690c07d8f..b939e4107 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()