mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 11:56:30 +00:00
Project cleanup
This commit is contained in:
1 parent
418b3adea7
commit
8d9076a241
27 files changed
+387
-141
No files matched your search
@@ -4,14 +4,18 @@ using Ninject.Modules;
|
||||
|
||||
namespace Artemis.UI.Ninject
|
||||
{
|
||||
// ReSharper disable once InconsistentNaming
|
||||
public class UIModule : NinjectModule
|
||||
{
|
||||
public override void Load()
|
||||
{
|
||||
// Bind all viewmodels
|
||||
// Bind all built-in viewmodels
|
||||
Kernel.Bind(x =>
|
||||
{
|
||||
x.FromThisAssembly().SelectAllClasses().InheritedFrom<IArtemisViewModel>().BindAllInterfaces();
|
||||
x.FromThisAssembly()
|
||||
.SelectAllClasses()
|
||||
.InheritedFrom<IArtemisViewModel>()
|
||||
.BindAllInterfaces();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user