コード例 #1
0
 public PostAppService(IPostRepository postRepository, ITagRepository tagRepository, ICommentRepository commentRepository, IBlogUserLookupService userLookupService)
 {
     UserLookupService  = userLookupService;
     _postRepository    = postRepository;
     _tagRepository     = tagRepository;
     _commentRepository = commentRepository;
 }
コード例 #2
0
 public BlogUserSynchronizer(
     IBlogUserRepository userRepository,
     IBlogUserLookupService userLookupService)
 {
     UserRepository    = userRepository;
     UserLookupService = userLookupService;
 }
コード例 #3
0
ファイル: PostAppService.cs プロジェクト: yahui-kh/abp
 public PostAppService(IPostRepository postRepository, ITagRepository tagRepository, ICommentRepository commentRepository, IBlogUserLookupService userLookupService, IDistributedCache <ListResultDto <PostWithDetailsDto> > postsCache)
 {
     UserLookupService  = userLookupService;
     _postRepository    = postRepository;
     _tagRepository     = tagRepository;
     _commentRepository = commentRepository;
     _postsCache        = postsCache;
 }
コード例 #4
0
 public PostAppService(
     IPostRepository postRepository,
     ITagRepository tagRepository,
     ICommentRepository commentRepository,
     IBlogUserLookupService userLookupService,
     IDistributedCache <List <PostCacheItem> > postsCache,
     ILocalEventBus localEventBus
     )
 {
     UserLookupService  = userLookupService;
     _postRepository    = postRepository;
     _tagRepository     = tagRepository;
     _commentRepository = commentRepository;
     _postsCache        = postsCache;
     _localEventBus     = localEventBus;
 }
コード例 #5
0
ファイル: CommentAppService.cs プロジェクト: qiao2015/abp1
 public CommentAppService(ICommentRepository commentRepository, IGuidGenerator guidGenerator, IBlogUserLookupService userLookupService)
 {
     _commentRepository = commentRepository;
     _guidGenerator     = guidGenerator;
     UserLookupService  = userLookupService;
 }
コード例 #6
0
ファイル: CommentAppService.cs プロジェクト: wocar/abp
 public CommentAppService(ICommentRepository commentRepository, IBlogUserLookupService userLookupService)
 {
     CommentRepository = commentRepository;
     UserLookupService = userLookupService;
 }