コード例 #1
0
 public MovieController(IMovieScheduleRepository movieScheduleRepository, IImdbService imdbService, IScheduleRepository scheduleRepository, IMovieReviewRepository movieReviewRepository, IEmailSender sender)
 {
     _movieReviewRepository = movieReviewRepository;
     _sender = sender;
     _movieScheduleRepository = movieScheduleRepository;
     _imdbService             = imdbService;
     _scheduleRepository      = scheduleRepository;
 }
コード例 #2
0
 public HomeController(
     IMovieDbService movieDbService,
     IBlurayDotComService blurayDotComService,
     IBoxOfficeMojoService boxOfficeMojoService,
     IDvdEmpireService dvdEmpireService,
     IHtmlService htmlService,
     IImdbService imdbService,
     IMapper mapper,
     IRottenTomatoesService rottenTomatoesService)
 {
     this.movieDbService = movieDbService;
     this.blurayDotComService = blurayDotComService;
     this.boxOfficeMojoService = boxOfficeMojoService;
     this.dvdEmpireService = dvdEmpireService;
     this.htmlService = htmlService;
     this.imdbService = imdbService;
     this.mapper = mapper;
     this.rottenTomatoesService = rottenTomatoesService;
 }
コード例 #3
0
 public HomeController(IImdbService ImdbServicel, IMailService ImailService, IMoviedbService iMoviedbService)
 {
     imdbService          = ImdbServicel;
     iMailService         = ImailService;
     this.iMoviedbService = iMoviedbService;
 }
コード例 #4
0
 public HomeController(ILogger <HomeController> logger, IImdbService imdbService, WebScraper scraper)
 {
     this.logger      = logger;
     this.imdbService = imdbService;
     this.scraper     = scraper;
 }
コード例 #5
0
 public MovieService(IImdbService imdbService, IYoutubeService youtubeService)
 {
     this.imdbService    = imdbService;
     this.youtubeService = youtubeService;
 }