コード例 #1
0
 public NewsApplicationService(IJuHeApiRepository juHeApiRepository
                               , INewsRepository newsRepository
                               , IShowApiRepository showApiRepository
                               )
 {
     this.juHeApiRepository = juHeApiRepository;
     this.newsRepository    = newsRepository;
     this.showApiRepository = showApiRepository;
 }
コード例 #2
0
 public UnitTest1() : base()
 {
     this.newsApplicationService      = ServiceProvider.GetService <INewsApplicationService>();
     this.showApiRepository           = ServiceProvider.GetService <IShowApiRepository>();
     this.newsQueryApplicationService = ServiceProvider.GetService <INewsQueryApplicationService>();
 }