private readonly IRepository <Book, long> _bookRepository; // /// <summary> /// 构造函数 ///</summary> public CloudBookListAppService( IRepository <CloudBookList, long> entityRepository , ICloudBookListManager entityManager, IRepository <BookListAndBook, long> bookListAndBookRepository, IRepository <Book, long> bookRepository) { _entityRepository = entityRepository; _entityManager = entityManager; _bookListAndBookRepository = bookListAndBookRepository; _bookRepository = bookRepository; }
public BookListAppService( IBookListDomainService bookList, IBookListCellDomainService bookListCell, ICloudBookListManager manager, IRepository <BookList, long> repository) : base(repository) { _bookList = bookList; _manager = manager; _bookListCell = bookListCell; }
/// <summary> /// 构造函数 ///</summary> public BookAppService( IRepository <Book, long> entityRepository , IBookManager entityManager, IBookTagManager bookTagManager, IRepository <BookAndBookTag, long> bookAndBookTagRegRepository, ICloudBookListManager cloudBookListManager, IRepository <CloudBookList, long> cloudBookListRepository) { _entityRepository = entityRepository; _entityManager = entityManager; _bookTagManager = bookTagManager; _bookAndBookTagRegRepository = bookAndBookTagRegRepository; _cloudBookListManager = cloudBookListManager; _cloudBookListRepository = cloudBookListRepository; }
public BookAppService(IBookDomainService book, ICloudBookListManager manager, IRepository <Book, long> repository) : base(repository) { _book = book; _manager = manager; }