-
Notifications
You must be signed in to change notification settings - Fork 0
Service Container
Nidkfr edited this page Jun 6, 2018
·
1 revision
Shiva implement a IOC generic. We may create a custom version for IOC of market like simpleinjector, ninject,ect...
- functionnality:
- Register Type
- Register Type Initializer
- Register Factory
- Register scope : Transient , singleton
we are made simple injector implementation.
Exemple:
using SimpleInjector;
using Shiva.Core.Ioc;
var instance = new SimpleInjectorServiceContainer(new Container());
instance.Register<ILogManager, Log4NetLogManager>();
Adrien Anfossi