mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-11 16:53:03 +01:00
Switched to MEF as a means to locate plugins and resolvers
This commit is contained in:
parent
84af205572
commit
97ee9fed14
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user