Ejemplo n.º 1
0
 public VoteViewService(ViewServicePack services, ILogger <VoteViewService> logger, VoteViewSource converter,
                        ContentViewService contentService)
     : base(services, logger)
 {
     this.converter      = converter;
     this.contentService = contentService;
 }
Ejemplo n.º 2
0
 public ContentViewService(ViewServicePack services, ILogger <ContentViewService> logger,
                           CategoryViewSource categoryService, ContentViewSource converter,
                           CommentViewSource commentSource, WatchViewSource watchSource, VoteViewSource voteSource, BanViewSource banSource)
     : base(services, logger, converter, banSource)
 {
     this.categoryService = categoryService;
     this.commentSource   = commentSource;
     this.watchSource     = watchSource;
     this.contentSource   = converter;
     this.voteSource      = voteSource;
 }