Example #1
0
 public static HomeViewModelBuilder Init(MovieCarouselViewModelBuilder movieCarouselViewModelBuilder,
                                         ActorsSummaryViewModelBuilder actorsSummaryViewModelBuilder,
                                         UpcomingFilmsListViewModelBuilder upcomingFilmsListViewModelBuilder)
 {
     return(new HomeViewModelBuilder(movieCarouselViewModelBuilder,
                                     actorsSummaryViewModelBuilder,
                                     upcomingFilmsListViewModelBuilder));
 }
Example #2
0
        private HomeViewModelBuilder(MovieCarouselViewModelBuilder movieCarouselViewModelBuilder,
                                     ActorsSummaryViewModelBuilder actorsSummaryViewModelBuilder,
                                     UpcomingFilmsListViewModelBuilder upcomingFilmsListViewModelBuilder)
        {
            _movieCarouselViewModelBuilder     = movieCarouselViewModelBuilder;
            _actorsSummaryViewModelBuilder     = actorsSummaryViewModelBuilder;
            _upcomingFilmsListViewModelBuilder = upcomingFilmsListViewModelBuilder;

            _homeViewModel = new HomeViewModel();
        }