Implement IOC for plugin registration.

This commit is contained in:
2018-07-20 22:53:46 +01:00
parent cd489cc40f
commit 991ee84712
27 changed files with 735 additions and 103 deletions

View File

@@ -39,7 +39,6 @@ using DiscImageChef.CommonTypes.Interfaces;
using DiscImageChef.CommonTypes.Structs;
using DiscImageChef.Console;
using DiscImageChef.Core;
using DiscImageChef.Filters;
namespace DiscImageChef.Commands
{
@@ -83,7 +82,7 @@ namespace DiscImageChef.Commands
return;
}
PluginBase plugins = new PluginBase();
PluginBase plugins = GetPluginBase.Instance;
try
{