예제 #1
0
 public void SetUp(IDependencyRegister dependencyRegister)
 {
     dependencyRegister.AddScopedForMultiImplementation <IStreamService, MoviesStreamService>();
     dependencyRegister.AddScopedForMultiImplementation <IStreamService, SeriesStreamService>();
     dependencyRegister.AddScoped <IStreamFactory, StreamFactory>();
     dependencyRegister.AddScoped <IValesService, ValesService>();
 }
예제 #2
0
 public void SetUp(IDependencyRegister dependencyRegister)
 {
     dependencyRegister.AddScoped <IDummyService2, DummyService2>();
 }
 public void SetUp(IDependencyRegister dependencyRegister)
 {
     dependencyRegister.AddScoped <ILabelRepository, LabelRepository>();
 }