And the winner is... Stylet!

This commit is contained in:
SpoinkyNL committed 2017-12-27 16:50:34 +01:00
1 parent 73241793b8
commit 418b3adea7
24 files changed
+299 -370

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
using Artemis.UI.ViewModels.Interfaces;
using Ninject.Extensions.Conventions;
using Ninject.Modules;
namespace Artemis.UI.Ninject
{
public class UIModule : NinjectModule
{
public override void Load()
{
// Bind all viewmodels
Kernel.Bind(x =>
{
x.FromThisAssembly().SelectAllClasses().InheritedFrom<IArtemisViewModel>().BindAllInterfaces();
});
}
}
}