コード例 #1
0
 public BooksController(
     IBookRepository repository,
     IBookFactory bookFactory,
     IIsbnFactory isbnFactory)
 {
     _repository  = repository;
     _bookFactory = bookFactory;
     _isbnFactory = isbnFactory;
 }
コード例 #2
0
 public BookFactory(IIsbnFactory isbnFactory)
 {
     _isbnFactory = isbnFactory;
 }