Пример #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 UserViewSource(ILogger <UserViewSource> logger, IMapper mapper, IEntityProvider provider, IPermissionService service, BanViewSource banSource)
     : base(logger, mapper, provider)
 {
     this.service   = service;
     this.banSource = banSource;
 }
Пример #4
0
 public BasePermissionViewService(ViewServicePack services, ILogger <BasePermissionViewService <V, S> > logger,
                                  IViewSource <V, EntityPackage, EntityGroup, S> converter, BanViewSource banSource)
     : base(services, logger, converter)
 {
     this.banSource = banSource;
 }
Пример #5
0
 public BanViewService(ViewServicePack services, ILogger <BanViewService> logger, BanViewSource source)
     : base(services, logger)
 {
     this.source = source;
 }
Пример #6
0
 public FileViewService(ViewServicePack services, ILogger <FileViewService> logger, FileViewSource converter, BanViewSource banSource)
     : base(services, logger, converter, banSource)
 {
 }
Пример #7
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;
 }
 //WARN: uses the same cache as comments! if we get a lot of module room messages, they could push out the
 //comments, which are arguably more important!
 public ModuleRoomMessageViewService(ViewServicePack services, ILogger <CommentViewService> logger,
                                     ModuleRoomMessageViewSource converter, WatchViewSource watchSource, BanViewSource banSource,
                                     ContentViewSource contentSource, ICodeTimer timer, SpecialModuleCacheService singlecache) :
     base(services, logger, converter, watchSource, banSource, contentSource, timer, singlecache)
 {
 }
Пример #9
0
 public CategoryViewService(ViewServicePack services, ILogger <CategoryViewService> logger, CategoryViewSource converter, BanViewSource banSource)
     : base(services, logger, converter, banSource)
 {
 }
Пример #10
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;
 }
Пример #11
0
 public UserViewSource(ILogger <UserViewSource> logger, BaseEntityViewSourceServices services, IPermissionService service, BanViewSource banSource)
     : base(logger, services)
 {
     this.service   = service;
     this.banSource = banSource;
 }