mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 20:06:33 +00:00
Marked all service implementations as internal
Core - Enabled XML docs Modules - Added DI to module VMs
This commit is contained in:
1 parent
795b4d672b
commit
aa3c3d6b95
29 files changed
+134
-46
No files matched your search
@@ -24,6 +24,7 @@ namespace Artemis.Core.Ninject
|
||||
Kernel.Bind(x =>
|
||||
{
|
||||
x.FromThisAssembly()
|
||||
.IncludingNonPublicTypes()
|
||||
.SelectAllClasses()
|
||||
.InheritedFrom<IArtemisService>()
|
||||
.BindAllInterfaces()
|
||||
@@ -34,6 +35,7 @@ namespace Artemis.Core.Ninject
|
||||
Kernel.Bind(x =>
|
||||
{
|
||||
x.FromThisAssembly()
|
||||
.IncludingNonPublicTypes()
|
||||
.SelectAllClasses()
|
||||
.InheritedFrom<IProtectedArtemisService>()
|
||||
.BindAllInterfaces()
|
||||
@@ -68,6 +70,7 @@ namespace Artemis.Core.Ninject
|
||||
Kernel.Bind(x =>
|
||||
{
|
||||
x.FromAssemblyContaining<IStorageMigration>()
|
||||
.IncludingNonPublicTypes()
|
||||
.SelectAllClasses()
|
||||
.InheritedFrom<IStorageMigration>()
|
||||
.BindAllInterfaces()
|
||||
@@ -78,6 +81,7 @@ namespace Artemis.Core.Ninject
|
||||
Kernel.Bind(x =>
|
||||
{
|
||||
x.FromAssemblyContaining<IRepository>()
|
||||
.IncludingNonPublicTypes()
|
||||
.SelectAllClasses()
|
||||
.InheritedFrom<IRepository>()
|
||||
.BindAllInterfaces()
|
||||
|
||||
Reference in new issue
Block a user