Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 437efc92 authored by Harald Martini's avatar Harald Martini
Browse files

fixed simulator factory bindings

parent 864bed71
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,8 @@ namespace TUGraz.VectoMockup.Ninject
public override void Load()
{
Kernel.Rebind<ISimulatorFactory>().To<MockupDeclarationSimulatorFactory>().Named(ExecutionMode.Declaration.ToString());
Kernel.Rebind<ISimulatorFactory>().To<MockupEngineeringSimulatorFactory>().Named(ExecutionMode.Engineering.ToString());
//Rebind clears all bindings for ISimulatorFactory
Kernel.Bind<ISimulatorFactory>().To<MockupEngineeringSimulatorFactory>().Named(ExecutionMode.Engineering.ToString());
//Bind<ISimulatorFactory>().To<SimulatorFactoryEngineering>().Named(ExecutionMode.Engineering.ToString());
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment