Example #1
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;
 }
 public CategoryViewService(ViewServicePack services, ILogger <CategoryViewService> logger, CategoryViewSource converter, BanViewSource banSource)
     : base(services, logger, converter, banSource)
 {
 }
Example #3
0
 public CategoryViewService(ViewServicePack services, ILogger <CategoryViewService> logger, CategoryViewSource converter, BanViewSource banSource,
                            CacheService <string, List <CategoryView> > cache)
     : base(services, logger, converter, banSource)
 {
     this.cache = cache;
 }