Ejemplo n.º 1
0
 /// <inheritdoc />
 public void RefreshContext(ICoreForumContext context)
 {
     _context = context;
     _roleService.RefreshContext(context);
     _notificationService.RefreshContext(context);
     _categoryPermissionForRoleService.RefreshContext(context);
 }
Ejemplo n.º 2
0
 /// <inheritdoc />
 public void RefreshContext(ICoreForumContext context)
 {
     _context = context;
     _categoryPermissionForRoleService.RefreshContext(context);
     _permissionService.RefreshContext(context);
     _globalPermissionForRoleService.RefreshContext(context);
 }
Ejemplo n.º 3
0
 /// <summary>
 ///     Constructor
 /// </summary>
 /// <param name="context"></param>
 /// <param name="settingsService"> </param>
 /// <param name="localizationService"> </param>
 /// <param name="activityService"> </param>
 /// <param name="cacheService"></param>
 /// <param name="voteService"></param>
 /// <param name="badgeService"></param>
 /// <param name="privateMessageService"></param>
 /// <param name="favouriteService"></param>
 /// <param name="membershipUserPointsService"></param>
 /// <param name="topicService"></param>
 /// <param name="categoryService"></param>
 /// <param name="postService"></param>
 /// <param name="notificationService"></param>
 /// <param name="pollService"></param>
 public MembershipService(ICoreForumContext context, ISettingsService settingsService,
                          ILocalizationService localizationService,
                          IActivityService activityService, ICacheService cacheService, IVoteService voteService,
                          IBadgeService badgeService,
                          IPrivateMessageService privateMessageService,
                          IFavouriteService favouriteService, IMembershipUserPointsService membershipUserPointsService,
                          ITopicService topicService, ICategoryService categoryService, IPostService postService,
                          INotificationService notificationService, IPollService pollService)
 {
     _settingsService             = settingsService;
     _localizationService         = localizationService;
     _activityService             = activityService;
     _cacheService                = cacheService;
     _voteService                 = voteService;
     _badgeService                = badgeService;
     _privateMessageService       = privateMessageService;
     _favouriteService            = favouriteService;
     _membershipUserPointsService = membershipUserPointsService;
     _topicService                = topicService;
     _categoryService             = categoryService;
     _postService                 = postService;
     _notificationService         = notificationService;
     _pollService                 = pollService;
     _context = context;
 }
Ejemplo n.º 4
0
 /// <inheritdoc />
 public void RefreshContext(ICoreForumContext context)
 {
     _context = context;
     _localizationService.RefreshContext(context);
     _emailService.RefreshContext(context);
     _settingsService.RefreshContext(context);
 }
Ejemplo n.º 5
0
 public NotificationService(ICoreForumContext context, ILocalizationService localizationService, IEmailService emailService, ISettingsService settingsService, ILoggingService loggingService)
 {
     _context             = context;
     _localizationService = localizationService;
     _emailService        = emailService;
     _settingsService     = settingsService;
     _loggingService      = loggingService;
 }
Ejemplo n.º 6
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="settingsService"> </param>
 /// <param name="loggingService"></param>
 /// <param name="cacheService"></param>
 /// <param name="context"></param>
 public LocalizationService(ISettingsService settingsService, ILoggingService loggingService, ICacheService cacheService, ICoreForumContext context)
 {
     _settingsService           = settingsService;
     _loggingService            = loggingService;
     _cacheService              = cacheService;
     _context                   = context;
     _perRequestLanguageStrings = ResourceKeysByLanguage(CurrentLanguage);
 }
Ejemplo n.º 7
0
 public RoleService(ICoreForumContext context, ICategoryPermissionForRoleService categoryPermissionForRoleService, IPermissionService permissionService, IGlobalPermissionForRoleService globalPermissionForRoleService, ICacheService cacheService)
 {
     _categoryPermissionForRoleService = categoryPermissionForRoleService;
     _permissionService = permissionService;
     _globalPermissionForRoleService = globalPermissionForRoleService;
     _cacheService = cacheService;
     _context      = context;
 }
Ejemplo n.º 8
0
 /// <inheritdoc />
 public void RefreshContext(ICoreForumContext context)
 {
     _context = context;
     _badgeService.RefreshContext(context);
     _topicService.RefreshContext(context);
     _postService.RefreshContext(context);
     _categoryService.RefreshContext(context);
 }
Ejemplo n.º 9
0
 public RecurringJobService(ILoggingService loggingService, ISettingsService settingsService, ITopicService topicService, ILocalizationService localizationService, ICoreForumContext context, EmailService emailService)
 {
     _loggingService      = loggingService;
     _settingsService     = settingsService;
     _topicService        = topicService;
     _localizationService = localizationService;
     _context             = context;
     _emailService        = emailService;
 }
Ejemplo n.º 10
0
 /// <summary>
 ///     Constructor
 /// </summary>
 /// <param name="context"></param>
 /// <param name="roleService"> </param>
 /// <param name="notificationService"> </param>
 /// <param name="categoryPermissionForRoleService"></param>
 /// <param name="cacheService"></param>
 public CategoryService(ICoreForumContext context, IRoleService roleService,
                        INotificationService notificationService,
                        ICategoryPermissionForRoleService categoryPermissionForRoleService, ICacheService cacheService)
 {
     _roleService         = roleService;
     _notificationService = notificationService;
     _categoryPermissionForRoleService = categoryPermissionForRoleService;
     _cacheService = cacheService;
     _context      = context;
 }
Ejemplo n.º 11
0
 /// <summary>
 ///     Constructor
 /// </summary>
 /// <param name="loggingService"> </param>
 /// <param name="localizationService"> </param>
 /// <param name="membershipUserPointsService"></param>
 /// <param name="context"></param>
 /// <param name="cacheService"></param>
 public BadgeService(ILoggingService loggingService, ILocalizationService localizationService,
                     IMembershipUserPointsService membershipUserPointsService,
                     ICoreForumContext context, ICacheService cacheService)
 {
     _loggingService              = loggingService;
     _localizationService         = localizationService;
     _membershipUserPointsService = membershipUserPointsService;
     _cacheService = cacheService;
     _context      = context;
 }
Ejemplo n.º 12
0
 /// <inheritdoc />
 public void RefreshContext(ICoreForumContext context)
 {
     _context = context;
     _roleService.RefreshContext(context);
     _membershipUserPointsService.RefreshContext(context);
     _settingsService.RefreshContext(context);
     _voteService.RefreshContext(context);
     _uploadedFileService.RefreshContext(context);
     _favouriteService.RefreshContext(context);
     _postEditService.RefreshContext(context);
 }
Ejemplo n.º 13
0
 /// <inheritdoc />
 public void RefreshContext(ICoreForumContext context)
 {
     _context = context;
     _membershipUserPointsService.RefreshContext(context);
     _settingsService.RefreshContext(context);
     _notificationService.RefreshContext(context);
     _favouriteService.RefreshContext(context);
     _postService.RefreshContext(context);
     _roleService.RefreshContext(context);
     _pollService.RefreshContext(context);
 }
Ejemplo n.º 14
0
 /// <summary>
 ///     Constructor
 /// </summary>
 public ActivityService(IBadgeService badgeService, ILoggingService loggingService, ICoreForumContext context,
                        ICacheService cacheService, ITopicService topicService, IPostService postService,
                        ICategoryService categoryService)
 {
     _badgeService    = badgeService;
     _loggingService  = loggingService;
     _cacheService    = cacheService;
     _topicService    = topicService;
     _postService     = postService;
     _categoryService = categoryService;
     _context         = context;
 }
Ejemplo n.º 15
0
 public PostService(ICoreForumContext context, IMembershipUserPointsService membershipUserPointsService,
                    ISettingsService settingsService, IRoleService roleService,
                    IVoteService voteService,
                    IUploadedFileService uploadedFileService, IFavouriteService favouriteService,
                    IConfigService configService, IPostEditService postEditService)
 {
     _roleService = roleService;
     _membershipUserPointsService = membershipUserPointsService;
     _settingsService             = settingsService;
     _voteService         = voteService;
     _uploadedFileService = uploadedFileService;
     _favouriteService    = favouriteService;
     _configService       = configService;
     _postEditService     = postEditService;
     _context             = context;
 }
Ejemplo n.º 16
0
 public TopicService(ICoreForumContext context, IMembershipUserPointsService membershipUserPointsService,
                     ISettingsService settingsService, INotificationService notificationService,
                     IFavouriteService favouriteService,
                     IPostService postService, IRoleService roleService, IPollService pollService, ICacheService cacheService, ILoggingService loggingService)
 {
     _membershipUserPointsService = membershipUserPointsService;
     _settingsService             = settingsService;
     _notificationService         = notificationService;
     _favouriteService            = favouriteService;
     _postService    = postService;
     _roleService    = roleService;
     _pollService    = pollService;
     _cacheService   = cacheService;
     _loggingService = loggingService;
     _context        = context;
 }
Ejemplo n.º 17
0
 /// <inheritdoc />
 public void RefreshContext(ICoreForumContext context)
 {
     _context = context;
     _settingsService.RefreshContext(context);
     _localizationService.RefreshContext(context);
     _activityService.RefreshContext(context);
     _voteService.RefreshContext(context);
     _badgeService.RefreshContext(context);
     _privateMessageService.RefreshContext(context);
     _favouriteService.RefreshContext(context);
     _membershipUserPointsService.RefreshContext(context);
     _topicService.RefreshContext(context);
     _categoryService.RefreshContext(context);
     _postService.RefreshContext(context);
     _notificationService.RefreshContext(context);
     _pollService.RefreshContext(context);
 }
Ejemplo n.º 18
0
 /// <inheritdoc />
 public void RefreshContext(ICoreForumContext context)
 {
     _context = context;
 }
Ejemplo n.º 19
0
 public PostEditService(ICoreForumContext context)
 {
     _context = context;
 }
Ejemplo n.º 20
0
 /// <inheritdoc />
 public void RefreshContext(ICoreForumContext context)
 {
     _context = context;
     _membershipUserPointsService.RefreshContext(context);
 }
Ejemplo n.º 21
0
 public VoteService(ICoreForumContext context, IMembershipUserPointsService membershipUserPointsService)
 {
     _membershipUserPointsService = membershipUserPointsService;
     _context = context;
 }
Ejemplo n.º 22
0
 public Pipeline(ICoreForumContext context)
 {
     _context = context;
 }
Ejemplo n.º 23
0
 /// <summary>
 ///     Constructor
 /// </summary>
 /// <param name="context"></param>
 /// <param name="cacheService"></param>
 public TopicTagService(ICoreForumContext context, ICacheService cacheService)
 {
     _cacheService = cacheService;
     _context      = context;
 }
 public GlobalPermissionForRoleService(ICoreForumContext context, ICacheService cacheService)
 {
     _cacheService = cacheService;
     _context      = context;
 }
Ejemplo n.º 25
0
 public BannedWordService(ICoreForumContext context, ICacheService cacheService)
 {
     _cacheService = cacheService;
     _context      = context;
 }
Ejemplo n.º 26
0
 /// <summary>
 ///     Constructor
 /// </summary>
 /// <param name="context"> </param>
 /// <param name="cacheService"></param>
 public PrivateMessageService(ICoreForumContext context, ICacheService cacheService)
 {
     _cacheService = cacheService;
     _context      = context;
 }
Ejemplo n.º 27
0
 /// <inheritdoc />
 public void RefreshContext(ICoreForumContext context)
 {
     _settingsService.RefreshContext(context);
     _settings = _settingsService.GetSettings();
 }
Ejemplo n.º 28
0
 /// <inheritdoc />
 public void RefreshContext(ICoreForumContext context)
 {
     _context = context;
     _settingsService.RefreshContext(context);
 }
Ejemplo n.º 29
0
 public PermissionService(ICategoryPermissionForRoleService categoryPermissionForRoleService, ICoreForumContext context, ICacheService cacheService)
 {
     _categoryPermissionForRoleService = categoryPermissionForRoleService;
     _cacheService = cacheService;
     _context      = context;
 }
Ejemplo n.º 30
0
 public BlockService(ICoreForumContext context, ICacheService cacheService)
 {
     _cacheService = cacheService;
     _context      = context;
 }