コード例 #1
0
 /// <summary>
 /// 构造函数
 ///</summary>
 public BookTagAppService(
     IRepository <BookTag, long> entityRepository
     , IBookTagManager entityManager
     )
 {
     _entityRepository = entityRepository;
     _entityManager    = entityManager;
 }
コード例 #2
0
 /// <summary>
 /// 构造函数
 ///</summary>
 public BookAppService(
     IRepository <Book, long> entityRepository
     , IBookManager entityManager, IRepository <BookAndBookTag, long> bookAndBookTagRepository, IBookTagManager bookTagManager)
 {
     _entityRepository         = entityRepository;
     _entityManager            = entityManager;
     _bookAndBookTagRepository = bookAndBookTagRepository;
     _bookTagManager           = bookTagManager;
 }
コード例 #3
0
        /// <summary>
        /// 构造函数
        ///</summary>
        public BookTagAppService(
            IRepository <BookTag, long> bookTagRepository
            , IBookTagManager bookTagManager

            )
        {
            _bookTagRepository = bookTagRepository;
            _bookTagManager    = bookTagManager;
        }
コード例 #4
0
 /// <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;
 }
コード例 #5
0
 /// <summary>
 /// 构造函数
 ///</summary>
 public BookAppService(
     IRepository <Book, long> bookRepository,
     IRepository <BookAndBookTag, long> bookAndTagRepository,
     IBookManager bookManager,
     IBookTagManager bookTagManager
     )
 {
     _bookRepository       = bookRepository;
     _bookManager          = bookManager;
     _bookTagManager       = bookTagManager;
     _bookAndTagRepository = bookAndTagRepository;
 }
コード例 #6
0
 /// <summary>
 /// 构造函数
 ///</summary>
 public BookAppService(
     IRepository <Book, long> entityRepository
     , IBookManager entityManager,
     IBookAndBookTagRelationshipManager bookAndBookTagRelationshipManager,
     IBookTagManager bookTagManager,
     IBookListAndBookRelationshipManager bookListAndBookRelationshipManager
     )
 {
     _entityRepository = entityRepository;
     _entityManager    = entityManager;
     _bookAndBookTagRelationshipManager = bookAndBookTagRelationshipManager;
     _bookTagManager = bookTagManager;
     _bookListAndBookRelationshipManager = bookListAndBookRelationshipManager;
 }