Пример #1
0
 public CommentViewService(ViewServicePack services, ILogger <CommentViewService> logger,
                           CommentViewSource converter, WatchViewSource watchSource, BanViewSource banSource,
                           ICodeTimer timer) : base(services, logger)
 {
     this.converter   = converter;
     this.watchSource = watchSource;
     this.timer       = timer;
     this.banSource   = banSource;
 }
 public CommentViewService(ViewServicePack services, ILogger <CommentViewService> logger,
                           CommentViewSource converter, WatchViewSource watchSource, BanViewSource banSource,
                           ContentViewSource contentSource, ICodeTimer timer, CacheService <long, CommentView> singlecache) : base(services, logger)
 {
     this.converter     = converter;
     this.watchSource   = watchSource;
     this.timer         = timer;
     this.banSource     = banSource;
     this.contentSource = contentSource;
     this.singlecache   = singlecache;
 }
Пример #3
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;
 }