Example #1
0
 private MoviesModule(IMoviesView View)
 {
     Container.Register(() => View, Lifestyle.Transient);
     Container.Register <IMoviesInteractor, MoviesInteractor>();
     Container.Register <MoviesPresenter>();
     Container.Verify();
 }
 public MoviePresenter(IMoviesView view, MoviesByTitle getMoviesByTitle)
 {
     _view             = view;
     _getMoviesByTitle = getMoviesByTitle;
 }
 public MoviePresenter(IMoviesView view, IMovieService movieService)
 {
     _view         = view;
     _movieService = movieService;
 }
Example #4
0
 public static MoviesModule NewInstance(IMoviesView View)
 {
     return(new MoviesModule(View));
 }