Move filesystems to a separate library.

This commit is contained in:
2015-10-05 20:04:05 +01:00
parent fda7fee90c
commit 80a1e37009
31 changed files with 243 additions and 81 deletions

View File

@@ -98,7 +98,7 @@ namespace DiscImageChef
}
}
assembly = Assembly.GetExecutingAssembly();
assembly = Assembly.GetAssembly(typeof(Plugin));
foreach (Type type in assembly.GetTypes())
{
@@ -106,7 +106,7 @@ namespace DiscImageChef
{
if (type.IsSubclassOf(typeof(Plugin)))
{
Plugin plugin = (Plugin)type.GetConstructor(new [] { typeof(PluginBase) }).Invoke(new object[] { this });
Plugin plugin = (Plugin)type.GetConstructor(Type.EmptyTypes).Invoke(new object[] { });
RegisterPlugin(plugin);
}
}