예제 #1
0
 public BookController(IBookView bookView, IBookAddView addView, IBookService service, IBookSearchView search)
 {
     this.view    = bookView;
     this.addView = addView;
     this.service = service;
     this.search  = search;
     this.search.SetController(this);
     this.view.SetController(this);
     this.addView.SetController(this);
 }
예제 #2
0
 public BookController(IBookAddView addBookView, IBookSearchView bookSearchView, IBookService bookService,
                       IBookView bookView)
 {
     this.addBookView    = addBookView;
     this.bookSearchView = bookSearchView;
     this.bookService    = bookService;
     this.bookView       = bookView;
     this.bookView.SetController(this);
     this.addBookView.SetController(this);
     this.bookSearchView.SetController(this);
 }
 public BookController(IBookView view, IBookAddView addView, IBookService service, ISearchBook bookSearch, ISearchBookResults bookResults)
 {
     this.service = service;
     this.view    = view;
     this.addView = addView;
     this.view.SetController(this);
     this.addView.SetController(this);
     this.bookSearch = bookSearch;
     this.bookSearch.SetController(this);
     this.bookResults = bookResults;
     this.bookResults.SetController(this);
 }