示例#1
0
        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;
        }
示例#2
0
 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;
 }
示例#4
0
 public BookAppService(IBookDomainService book, ICloudBookListManager manager, IRepository <Book, long> repository) : base(repository)
 {
     _book    = book;
     _manager = manager;
 }