Added most of the settings code, doesn't work because SQLite is weird

This commit is contained in:
SpoinkyNL committed 2019-04-17 20:47:23 +02:00
1 parent 231e5e7517
commit ac577e87cc
42 files changed
+409 -582

No files matched your search

+6 -2
View File
@@ -146,8 +146,12 @@ namespace Artemis.Core.Services
var pluginType = pluginTypes.Single();
try
{
var constructorArguments = new ConstructorArgument("pluginInfo", pluginInfo);
pluginInfo.Instance = (Plugin) _childKernel.Get(pluginType, constraint: null, parameters: constructorArguments);
var parameters = new IParameter[]
{
new ConstructorArgument("pluginInfo", pluginInfo),
new Parameter("PluginInfo", pluginInfo, false)
};
pluginInfo.Instance = (Plugin) _childKernel.Get(pluginType, constraint: null, parameters: parameters);
}
catch (Exception e)
{