aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.WebDashboard/ServerEntryPoint.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2016-10-26 02:01:42 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2016-10-26 02:01:42 -0400
commit4b51233cc8faeea344661a2a3427579e534d8ea4 (patch)
tree677a8e2e8ba58791e866333f2d2acabe3e7e3f8a /MediaBrowser.WebDashboard/ServerEntryPoint.cs
parenteb669782076450c9448289c64387a8e0858fb70b (diff)
update plugin interfaces
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 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()