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; }
public static MoviesModule NewInstance(IMoviesView View) { return(new MoviesModule(View)); }