Switched to MEF as a means to locate plugins and resolvers

This commit is contained in:
LukePulverenti Luke Pulverenti luke pulverenti
2012-07-25 22:33:11 -04:00
parent 84af205572
commit 97ee9fed14
32 changed files with 181 additions and 281 deletions

View File

@@ -31,6 +31,7 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.ComponentModel.Composition" />
<Reference Include="System.Core" />
<Reference Include="System.Reactive">
<HintPath>..\packages\Rx-Main.1.0.11226\lib\Net4\System.Reactive.dll</HintPath>

View File

@@ -1,9 +1,11 @@
using MediaBrowser.Common.Plugins;
using System.ComponentModel.Composition;
using MediaBrowser.Common.Plugins;
using MediaBrowser.Controller;
using MediaBrowser.Model.Plugins;
namespace MediaBrowser.HtmlBrowser
{
[Export(typeof(BasePlugin))]
public class Plugin : BaseGenericPlugin<BasePluginConfiguration>
{
public override string Name