Exemple #1
0
 public ValuesController(IDataServiceScoped scopedService,
                         IDataServiceTransient transientService,
                         IDataServiceSingleton singletonService,
                         OtherService otherService)
 {
     _scopedService    = scopedService;
     _transientService = transientService;
     _singletonService = singletonService;
     _otherService     = otherService;
 }
Exemple #2
0
 public OtherService(IDataServiceScoped scopedService, IDataServiceTransient transientService, IDataServiceSingleton singletonService)
 {
     _scopedService    = scopedService;
     _transientService = transientService;
     _singletonService = singletonService;
 }