Esempio n. 1
0
 public CustomService(IDiSampleTransient transient,
                      IDiSampleScoped scoped,
                      IDiSampleSingleton singleton)
 {
     Transient = transient;
     Scoped    = scoped;
     Singleton = singleton;
 }
Esempio n. 2
0
        public HomeController(IDiSampleTransient transient, IDiSampleScoped scoped, IDiSampleSingleton singleton,
                              ISessionWapper sessionWapper)
        {
            _diTransient = transient;
            _diScoped    = scoped;
            _diSingleton = singleton;

            _sessionWapper = sessionWapper;
        }