public NonFactoredTabPresenter(INonFactoredTabView view, IBatchRepository repository) { ArgumentChecker.ThrowIfNull(view, "view"); ArgumentChecker.ThrowIfNull(repository, "repository"); this.view = view; this.repository = repository; }
public static NonFactoredTabPresenter Create(INonFactoredTabView view) { return(new NonFactoredTabPresenter(view, RepositoryFactory.CreateBatchRepository())); }