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, Version=1.0.10621.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>

View File

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