Пример #1
0
 public SnippetsController(ILoggingService loggingService, IUnitOfWorkManager unitOfWorkManager, IMembershipService membershipService,
                           ILocalizationService localizationService, IRoleService roleService, ISettingsService settingsService,
                           IMembershipUserPointsService membershipUserPointsService)
     : base(loggingService, unitOfWorkManager, membershipService, localizationService, roleService, settingsService)
 {
     _membershipUserPointsService = membershipUserPointsService;
 }
Пример #2
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="context"></param>
 /// <param name="settingsService"> </param>
 /// <param name="emailService"> </param>
 /// <param name="localizationService"> </param>
 /// <param name="activityService"> </param>
 /// <param name="privateMessageService"> </param>
 /// <param name="membershipUserPointsService"> </param>
 /// <param name="topicNotificationService"> </param>
 /// <param name="voteService"> </param>
 /// <param name="badgeService"> </param>
 /// <param name="categoryNotificationService"> </param>
 /// <param name="loggingService"></param>
 /// <param name="uploadedFileService"></param>
 /// <param name="postService"></param>
 /// <param name="pollVoteService"></param>
 /// <param name="pollAnswerService"></param>
 /// <param name="pollService"></param>
 /// <param name="topicService"></param>
 /// <param name="favouriteService"></param>
 /// <param name="categoryService"></param>
 public MembershipService(IMVCForumContext context, ISettingsService settingsService,
                          IEmailService emailService, ILocalizationService localizationService, IActivityService activityService,
                          IPrivateMessageService privateMessageService, IMembershipUserPointsService membershipUserPointsService,
                          ITopicNotificationService topicNotificationService, IVoteService voteService, IBadgeService badgeService,
                          ICategoryNotificationService categoryNotificationService, ILoggingService loggingService, IUploadedFileService uploadedFileService,
                          IPostService postService, IPollVoteService pollVoteService, IPollAnswerService pollAnswerService,
                          IPollService pollService, ITopicService topicService, IFavouriteService favouriteService,
                          ICategoryService categoryService, IPostEditService postEditService)
 {
     _settingsService             = settingsService;
     _emailService                = emailService;
     _localizationService         = localizationService;
     _activityService             = activityService;
     _privateMessageService       = privateMessageService;
     _membershipUserPointsService = membershipUserPointsService;
     _topicNotificationService    = topicNotificationService;
     _voteService  = voteService;
     _badgeService = badgeService;
     _categoryNotificationService = categoryNotificationService;
     _loggingService      = loggingService;
     _uploadedFileService = uploadedFileService;
     _postService         = postService;
     _pollVoteService     = pollVoteService;
     _pollAnswerService   = pollAnswerService;
     _pollService         = pollService;
     _topicService        = topicService;
     _favouriteService    = favouriteService;
     _categoryService     = categoryService;
     _postEditService     = postEditService;
     _context             = context as MVCForumContext;
 }
Пример #3
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="membershipRepository"> </param>
 /// <param name="settingsRepository"> </param>
 /// <param name="emailService"> </param>
 /// <param name="localizationService"> </param>
 /// <param name="activityService"> </param>
 /// <param name="privateMessageService"> </param>
 /// <param name="membershipUserPointsService"> </param>
 /// <param name="topicNotificationService"> </param>
 /// <param name="voteService"> </param>
 /// <param name="badgeService"> </param>
 /// <param name="categoryNotificationService"> </param>
 /// <param name="loggingService"></param>
 /// <param name="uploadedFileService"></param>
 /// <param name="postRepository"></param>
 /// <param name="pollVoteRepository"></param>
 /// <param name="pollAnswerRepository"></param>
 /// <param name="pollRepository"></param>
 /// <param name="topicRepository"></param>
 /// <param name="favouriteRepository"></param>
 /// <param name="categoryService"></param>
 public MembershipService(IMembershipRepository membershipRepository, ISettingsRepository settingsRepository,
                          IEmailService emailService, ILocalizationService localizationService, IActivityService activityService,
                          IPrivateMessageService privateMessageService, IMembershipUserPointsService membershipUserPointsService,
                          ITopicNotificationService topicNotificationService, IVoteService voteService, IBadgeService badgeService,
                          ICategoryNotificationService categoryNotificationService, ILoggingService loggingService, IUploadedFileService uploadedFileService,
                          IPostRepository postRepository, IPollVoteRepository pollVoteRepository, IPollAnswerRepository pollAnswerRepository,
                          IPollRepository pollRepository, ITopicRepository topicRepository, IFavouriteRepository favouriteRepository,
                          ICategoryService categoryService)
 {
     _membershipRepository        = membershipRepository;
     _settingsRepository          = settingsRepository;
     _emailService                = emailService;
     _localizationService         = localizationService;
     _activityService             = activityService;
     _privateMessageService       = privateMessageService;
     _membershipUserPointsService = membershipUserPointsService;
     _topicNotificationService    = topicNotificationService;
     _voteService  = voteService;
     _badgeService = badgeService;
     _categoryNotificationService = categoryNotificationService;
     _loggingService       = loggingService;
     _uploadedFileService  = uploadedFileService;
     _postRepository       = postRepository;
     _pollVoteRepository   = pollVoteRepository;
     _pollAnswerRepository = pollAnswerRepository;
     _pollRepository       = pollRepository;
     _topicRepository      = topicRepository;
     _favouriteRepository  = favouriteRepository;
     _categoryService      = categoryService;
 }
Пример #4
0
 public SnippetsController(ILoggingService loggingService, IUnitOfWorkManager unitOfWorkManager, IMembershipService membershipService, 
     ILocalizationService localizationService, IRoleService roleService, ISettingsService settingsService,
     IMembershipUserPointsService membershipUserPointsService, ICacheService cacheService)
     : base(loggingService, unitOfWorkManager, membershipService, localizationService, roleService, settingsService, cacheService)
 {
     _membershipUserPointsService = membershipUserPointsService;
 }
Пример #5
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="context"></param>
 /// <param name="settingsService"> </param>
 /// <param name="emailService"> </param>
 /// <param name="localizationService"> </param>
 /// <param name="activityService"> </param>
 /// <param name="privateMessageService"> </param>
 /// <param name="membershipUserPointsService"> </param>
 /// <param name="topicNotificationService"> </param>
 /// <param name="voteService"> </param>
 /// <param name="badgeService"> </param>
 /// <param name="categoryNotificationService"> </param>
 /// <param name="loggingService"></param>
 /// <param name="uploadedFileService"></param>
 /// <param name="postService"></param>
 /// <param name="pollVoteService"></param>
 /// <param name="pollAnswerService"></param>
 /// <param name="pollService"></param>
 /// <param name="topicService"></param>
 /// <param name="favouriteService"></param>
 /// <param name="categoryService"></param>
 public MembershipService(IMVCForumContext context, ISettingsService settingsService,
     IEmailService emailService, ILocalizationService localizationService, IActivityService activityService,
     IPrivateMessageService privateMessageService, IMembershipUserPointsService membershipUserPointsService,
     ITopicNotificationService topicNotificationService, IVoteService voteService, IBadgeService badgeService,
     ICategoryNotificationService categoryNotificationService, ILoggingService loggingService, IUploadedFileService uploadedFileService,
     IPostService postService, IPollVoteService pollVoteService, IPollAnswerService pollAnswerService,
     IPollService pollService, ITopicService topicService, IFavouriteService favouriteService, 
     ICategoryService categoryService, IPostEditService postEditService)
 {
     _settingsService = settingsService;
     _emailService = emailService;
     _localizationService = localizationService;
     _activityService = activityService;
     _privateMessageService = privateMessageService;
     _membershipUserPointsService = membershipUserPointsService;
     _topicNotificationService = topicNotificationService;
     _voteService = voteService;
     _badgeService = badgeService;
     _categoryNotificationService = categoryNotificationService;
     _loggingService = loggingService;
     _uploadedFileService = uploadedFileService;
     _postService = postService;
     _pollVoteService = pollVoteService;
     _pollAnswerService = pollAnswerService;
     _pollService = pollService;
     _topicService = topicService;
     _favouriteService = favouriteService;
     _categoryService = categoryService;
     _postEditService = postEditService;
     _context = context as MVCForumContext;
 }
Пример #6
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(IMvcForumContext 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;
 }
Пример #7
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="membershipRepository"> </param>
 /// <param name="settingsRepository"> </param>
 /// <param name="emailService"> </param>
 /// <param name="localizationService"> </param>
 /// <param name="activityService"> </param>
 /// <param name="privateMessageService"> </param>
 /// <param name="membershipUserPointsService"> </param>
 /// <param name="topicNotificationService"> </param>
 /// <param name="voteService"> </param>
 /// <param name="badgeService"> </param>
 /// <param name="categoryNotificationService"> </param>
 /// <param name="loggingService"></param>
 /// <param name="uploadedFileService"></param>
 /// <param name="postRepository"></param>
 /// <param name="pollVoteRepository"></param>
 /// <param name="pollAnswerRepository"></param>
 /// <param name="pollRepository"></param>
 /// <param name="topicRepository"></param>
 /// <param name="favouriteRepository"></param>
 /// <param name="categoryService"></param>
 public MembershipService(IMembershipRepository membershipRepository, ISettingsRepository settingsRepository,
     IEmailService emailService, ILocalizationService localizationService, IActivityService activityService,
     IPrivateMessageService privateMessageService, IMembershipUserPointsService membershipUserPointsService,
     ITopicNotificationService topicNotificationService, IVoteService voteService, IBadgeService badgeService,
     ICategoryNotificationService categoryNotificationService, ILoggingService loggingService, IUploadedFileService uploadedFileService,
     IPostRepository postRepository, IPollVoteRepository pollVoteRepository, IPollAnswerRepository pollAnswerRepository,
     IPollRepository pollRepository, ITopicRepository topicRepository, IFavouriteRepository favouriteRepository,
     ICategoryService categoryService)
 {
     _membershipRepository = membershipRepository;
     _settingsRepository = settingsRepository;
     _emailService = emailService;
     _localizationService = localizationService;
     _activityService = activityService;
     _privateMessageService = privateMessageService;
     _membershipUserPointsService = membershipUserPointsService;
     _topicNotificationService = topicNotificationService;
     _voteService = voteService;
     _badgeService = badgeService;
     _categoryNotificationService = categoryNotificationService;
     _loggingService = loggingService;
     _uploadedFileService = uploadedFileService;
     _postRepository = postRepository;
     _pollVoteRepository = pollVoteRepository;
     _pollAnswerRepository = pollAnswerRepository;
     _pollRepository = pollRepository;
     _topicRepository = topicRepository;
     _favouriteRepository = favouriteRepository;
     _categoryService = categoryService;
 }
Пример #8
0
 public PostCreateEditPipe(IPostEditService postEditService, IMembershipUserPointsService membershipUserPointsService, ISettingsService settingsService, IActivityService activityService, INotificationService notificationService, ILoggingService loggingService)
 {
     _postEditService             = postEditService;
     _membershipUserPointsService = membershipUserPointsService;
     _settingsService             = settingsService;
     _activityService             = activityService;
     _notificationService         = notificationService;
     _loggingService = loggingService;
 }
Пример #9
0
 public PointController(ILoggingService loggingService, IMembershipService membershipService,
                        ILocalizationService localizationService, IRoleService roleService, ISettingsService settingsService,
                        IMembershipUserPointsService membershipUserPointsService, ICacheService cacheService,
                        IMvcForumContext context)
     : base(loggingService, membershipService, localizationService, roleService,
            settingsService, cacheService, context)
 {
     _membershipUserPointsService = membershipUserPointsService;
 }
Пример #10
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="loggingService"> </param>
 /// <param name="localizationService"> </param>
 /// <param name="membershipUserPointsService"></param>
 /// <param name="reflectionService"></param>
 /// <param name="context"></param>
 public BadgeService(ILoggingService loggingService, ILocalizationService localizationService,
                     IMembershipUserPointsService membershipUserPointsService, IReflectionService reflectionService, IMVCForumContext context)
 {
     _loggingService              = loggingService;
     _localizationService         = localizationService;
     _membershipUserPointsService = membershipUserPointsService;
     _reflectionService           = reflectionService;
     _context = context as MVCForumContext;
 }
Пример #11
0
 public TopicService(IMembershipUserPointsService membershipUserPointsService,
                     ISettingsService settingsService, ITopicRepository topicRepository, IPostRepository postRepository, ITopicNotificationService topicNotificationService)
 {
     _membershipUserPointsService = membershipUserPointsService;
     _settingsService             = settingsService;
     _topicRepository             = topicRepository;
     _postRepository           = postRepository;
     _topicNotificationService = topicNotificationService;
 }
Пример #12
0
 public TopicService(IMembershipUserPointsService membershipUserPointsService,
     ISettingsService settingsService, ITopicRepository topicRepository, IPostRepository postRepository, ITopicNotificationService topicNotificationService)
 {
     _membershipUserPointsService = membershipUserPointsService;
     _settingsService = settingsService;
     _topicRepository = topicRepository;
     _postRepository = postRepository;
     _topicNotificationService = topicNotificationService;
 }
Пример #13
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,
                     IMvcForumContext context, ICacheService cacheService)
 {
     _loggingService              = loggingService;
     _localizationService         = localizationService;
     _membershipUserPointsService = membershipUserPointsService;
     _cacheService = cacheService;
     _context      = context;
 }
Пример #14
0
 public DashboardController(ILoggingService loggingService, IUnitOfWorkManager unitOfWorkManager, IMembershipService membershipService,
     ILocalizationService localizationService, ISettingsService settingsService, IPostService postService, 
     ITopicService topicService, ITopicTagService topicTagService, IMembershipUserPointsService membershipUserPointsService)
     : base(loggingService, unitOfWorkManager, membershipService, localizationService, settingsService)
 {
     _membershipUserPointsService = membershipUserPointsService;
     _postService = postService;
     _topicService = topicService;
     _topicTagService = topicTagService;
 }
Пример #15
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="badgeRepository"> </param>
 /// <param name="api"></param>
 /// <param name="loggingService"> </param>
 /// <param name="localizationService"> </param>
 /// <param name="activityService"> </param>
 public BadgeService(IBadgeRepository badgeRepository,
                     ILoggingService loggingService, ILocalizationService localizationService, IActivityService activityService, IMembershipUserPointsService membershipUserPointsService, IReflectionService reflectionService)
 {
     _badgeRepository             = badgeRepository;
     _loggingService              = loggingService;
     _localizationService         = localizationService;
     _activityService             = activityService;
     _membershipUserPointsService = membershipUserPointsService;
     _reflectionService           = reflectionService;
 }
Пример #16
0
 public DashboardController(ILoggingService loggingService, IUnitOfWorkManager unitOfWorkManager, IMembershipService membershipService,
                            ILocalizationService localizationService, ISettingsService settingsService, IPostService postService,
                            ITopicService topicService, ITopicTagService topicTagService, IMembershipUserPointsService membershipUserPointsService)
     : base(loggingService, unitOfWorkManager, membershipService, localizationService, settingsService)
 {
     _membershipUserPointsService = membershipUserPointsService;
     _postService     = postService;
     _topicService    = topicService;
     _topicTagService = topicTagService;
 }
Пример #17
0
 public PostService(IMembershipUserPointsService membershipUserPointsService,
                    ISettingsService settingsService, IRoleService roleService, IPostRepository postRepository, ITopicRepository topicRepository,
                    ILocalizationService localizationService)
 {
     _postRepository              = postRepository;
     _topicRepository             = topicRepository;
     _roleService                 = roleService;
     _membershipUserPointsService = membershipUserPointsService;
     _settingsService             = settingsService;
     _localizationService         = localizationService;
 }
Пример #18
0
 public PostDeletePipe(IVoteService voteService, IMembershipUserPointsService membershipUserPointsService, IUploadedFileService uploadedFileService, IFavouriteService favouriteService, IPostEditService postEditService, ILoggingService loggingService, IRoleService roleService, ILocalizationService localizationService)
 {
     _voteService = voteService;
     _membershipUserPointsService = membershipUserPointsService;
     _uploadedFileService         = uploadedFileService;
     _favouriteService            = favouriteService;
     _postEditService             = postEditService;
     _loggingService      = loggingService;
     _roleService         = roleService;
     _localizationService = localizationService;
 }
Пример #19
0
 public PostService(IMembershipUserPointsService membershipUserPointsService,
     ISettingsService settingsService, IRoleService roleService, IPostRepository postRepository, ITopicRepository topicRepository,
     ILocalizationService localizationService)
 {
     _postRepository = postRepository;
     _topicRepository = topicRepository;
     _roleService = roleService;
     _membershipUserPointsService = membershipUserPointsService;
     _settingsService = settingsService;
     _localizationService = localizationService;
 }
 public void Init()
 {
     _api = Substitute.For<IMVCForumAPI>();
     _activityService = Substitute.For<IActivityService>();
     _privateMessageService = Substitute.For<IPrivateMessageService>();
     _membershipUserPointsService = Substitute.For<IMembershipUserPointsService>();
     _topicNotificationService = Substitute.For<ITopicNotificationService>();
     _voteService = Substitute.For<IVoteService>();
     _badgeService = Substitute.For<IBadgeService>();
     _categoryNotificationService = Substitute.For<ICategoryNotificationService>();
     _loggingService = Substitute.For<ILoggingService>();
 }
 public void Init()
 {
     _api                         = Substitute.For <IMVCForumAPI>();
     _activityService             = Substitute.For <IActivityService>();
     _privateMessageService       = Substitute.For <IPrivateMessageService>();
     _membershipUserPointsService = Substitute.For <IMembershipUserPointsService>();
     _topicNotificationService    = Substitute.For <ITopicNotificationService>();
     _voteService                 = Substitute.For <IVoteService>();
     _badgeService                = Substitute.For <IBadgeService>();
     _categoryNotificationService = Substitute.For <ICategoryNotificationService>();
     _loggingService              = Substitute.For <ILoggingService>();
 }
Пример #22
0
 public VoteController(ILoggingService loggingService, IMembershipService membershipService,
                       ILocalizationService localizationService, IRoleService roleService, IPostService postService,
                       IVoteService voteService, ISettingsService settingsService, ITopicService topicService,
                       IMembershipUserPointsService membershipUserPointsService, ICacheService cacheService,
                       IMvcForumContext context)
     : base(loggingService, membershipService, localizationService, roleService,
            settingsService, cacheService, context)
 {
     _postService  = postService;
     _voteService  = voteService;
     _topicService = topicService;
     _membershipUserPointsService = membershipUserPointsService;
 }
Пример #23
0
 public PostService(IMembershipUserPointsService membershipUserPointsService, IVoteService voteService, IFavouriteService favouriteService, IUploadedFileService uploadedFileService,
     ISettingsService settingsService, IRoleService roleService, IPostRepository postRepository, ITopicRepository topicRepository,
     ILocalizationService localizationService)
 {
     _voteService = voteService;
     _favouriteService = favouriteService;
     _uploadedFileService = uploadedFileService;
     _postRepository = postRepository;
     _topicRepository = topicRepository;
     _roleService = roleService;
     _membershipUserPointsService = membershipUserPointsService;
     _settingsService = settingsService;
     _localizationService = localizationService;
 }
Пример #24
0
 public DashboardController(ILoggingService loggingService, IMembershipService membershipService,
                            ILocalizationService localizationService, ISettingsService settingsService, IPostService postService,
                            ITopicService topicService, ITopicTagService topicTagService,
                            IMembershipUserPointsService membershipUserPointsService, ICategoryService categoryService,
                            IPrivateMessageService privateMessageService,
                            IMvcForumContext context)
     : base(loggingService, membershipService, localizationService, settingsService, context)
 {
     _membershipUserPointsService = membershipUserPointsService;
     _categoryService             = categoryService;
     _privateMessageService       = privateMessageService;
     _postService  = postService;
     _topicService = topicService;
 }
Пример #25
0
 public PostService(IMVCForumContext context,IMembershipUserPointsService membershipUserPointsService,
     ISettingsService settingsService, IRoleService roleService,
     ILocalizationService localizationService, IVoteService voteService, IUploadedFileService uploadedFileService, IFavouriteService favouriteService, IConfigService configService, IPostEditService postEditService)
 {
     _roleService = roleService;
     _membershipUserPointsService = membershipUserPointsService;
     _settingsService = settingsService;
     _localizationService = localizationService;
     _voteService = voteService;
     _uploadedFileService = uploadedFileService;
     _favouriteService = favouriteService;
     _configService = configService;
     _postEditService = postEditService;
     _context = context as MVCForumContext;
 }
Пример #26
0
 public PostService(IMVCForumContext context, IMembershipUserPointsService membershipUserPointsService,
                    ISettingsService settingsService, IRoleService roleService,
                    ILocalizationService localizationService, IVoteService voteService, IUploadedFileService uploadedFileService, IFavouriteService favouriteService, IConfigService configService, IPostEditService postEditService)
 {
     _roleService = roleService;
     _membershipUserPointsService = membershipUserPointsService;
     _settingsService             = settingsService;
     _localizationService         = localizationService;
     _voteService         = voteService;
     _uploadedFileService = uploadedFileService;
     _favouriteService    = favouriteService;
     _configService       = configService;
     _postEditService     = postEditService;
     _context             = context as MVCForumContext;
 }
Пример #27
0
 public TopicService(IMVCForumContext context, IMembershipUserPointsService membershipUserPointsService,
                     ISettingsService settingsService, ITopicNotificationService topicNotificationService,
                     IFavouriteService favouriteService,
                     IPostService postService, IRoleService roleService, IPollService pollService, IPollAnswerService pollAnswerService, ICacheService cacheService)
 {
     _membershipUserPointsService = membershipUserPointsService;
     _settingsService             = settingsService;
     _topicNotificationService    = topicNotificationService;
     _favouriteService            = favouriteService;
     _postService       = postService;
     _roleService       = roleService;
     _pollService       = pollService;
     _pollAnswerService = pollAnswerService;
     _cacheService      = cacheService;
     _context           = context as MVCForumContext;
 }
Пример #28
0
 public TopicService(IMvcForumContext 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;
 }
Пример #29
0
 public TopicService(IMVCForumContext context, IMembershipUserPointsService membershipUserPointsService,
     ISettingsService settingsService, ITopicNotificationService topicNotificationService,
     IFavouriteService favouriteService,
     IPostService postService, IRoleService roleService, IPollService pollService, IPollAnswerService pollAnswerService, ICacheService cacheService)
 {
     _membershipUserPointsService = membershipUserPointsService;
     _settingsService = settingsService;
     _topicNotificationService = topicNotificationService;
     _favouriteService = favouriteService;
     _postService = postService;
     _roleService = roleService;
     _pollService = pollService;
     _pollAnswerService = pollAnswerService;
     _cacheService = cacheService;
     _context = context as MVCForumContext;
 }
Пример #30
0
 public PostService(IMvcForumContext context, IMembershipUserPointsService membershipUserPointsService,
                    ISettingsService settingsService, IRoleService roleService,
                    IVoteService voteService,
                    IUploadedFileService uploadedFileService, IFavouriteService favouriteService,
                    IConfigService configService, IPostEditService postEditService, IGroupService groupService)
 {
     _roleService = roleService;
     _membershipUserPointsService = membershipUserPointsService;
     _settingsService             = settingsService;
     _voteService         = voteService;
     _uploadedFileService = uploadedFileService;
     _favouriteService    = favouriteService;
     _configService       = configService;
     _postEditService     = postEditService;
     _groupService        = groupService;
     _context             = context;
 }
Пример #31
0
 public DashboardController(ILoggingService loggingService,
                            IMembershipService membershipService,
                            ILocalizationService localizationService,
                            ISettingsService settingsService,
                            IPostService postService,
                            ITopicService topicService,
                            ITopicTagService topicTagService,
                            IMembershipUserPointsService membershipUserPointsService,
                            IGroupService GroupService,
                            IMvcForumContext context)
     : base(loggingService, membershipService, localizationService, settingsService, context)
 {
     _membershipUserPointsService = membershipUserPointsService;
     _groupService = GroupService;
     _postService  = postService;
     _topicService = topicService;
 }
Пример #32
0
 /// <summary>
 ///     Constructor
 /// </summary>
 /// <param name="context"></param>
 /// <param name="membershipService"></param>
 /// <param name="localizationService"> </param>
 /// <param name="roleService"> </param>
 /// <param name="settingsService"> </param>
 /// <param name="loggingService"> </param>
 /// <param name="postService"> </param>
 /// <param name="topicService"> </param>
 /// <param name="membershipUserPointsService"> </param>
 /// <param name="activityService"> </param>
 /// <param name="pollService"> </param>
 /// <param name="uploadedFileService"></param>
 public AccountController(ILoggingService loggingService, IMvcForumContext context,
                          IMembershipService membershipService,
                          ILocalizationService localizationService,
                          IRoleService roleService,
                          ISettingsService settingsService, IPostService postService, ITopicService topicService,
                          IMembershipUserPointsService membershipUserPointsService,
                          IActivityService activityService, IPollService pollService,
                          IUploadedFileService uploadedFileService)
     : base(loggingService, membershipService, localizationService, settingsService, context)
 {
     ActivityService = activityService;
     _roleService    = roleService;
     _postService    = postService;
     _topicService   = topicService;
     _membershipUserPointsService = membershipUserPointsService;
     _pollService         = pollService;
     _uploadedFileService = uploadedFileService;
 }
Пример #33
0
 public VoteController(ILoggingService loggingService,
     IUnitOfWorkManager unitOfWorkManager,
     IMembershipService membershipService,
     ILocalizationService localizationService,
     IRoleService roleService,
     IPostService postService,
     IVoteService voteService,
     ISettingsService settingsService,
     ITopicService topicService,
     IMembershipUserPointsService membershipUserPointsService,
     ICacheService cacheService)
     : base(loggingService, unitOfWorkManager, membershipService, localizationService, roleService, settingsService, cacheService)
 {
     _postService = postService;
     _voteService = voteService;
     _topicService = topicService;
     _membershipUserPointsService = membershipUserPointsService;
 }
Пример #34
0
 public VoteController(ILoggingService loggingService,
                       IUnitOfWorkManager unitOfWorkManager,
                       IMembershipService membershipService,
                       ILocalizationService localizationService,
                       IRoleService roleService,
                       IPostService postService,
                       IVoteService voteService,
                       ISettingsService settingsService,
                       ITopicService topicService,
                       IMembershipUserPointsService membershipUserPointsService,
                       ICacheService cacheService)
     : base(loggingService, unitOfWorkManager, membershipService, localizationService, roleService, settingsService, cacheService)
 {
     _postService  = postService;
     _voteService  = voteService;
     _topicService = topicService;
     _membershipUserPointsService = membershipUserPointsService;
 }
Пример #35
0
 public UserScrubPipe(IVoteService voteService, IBadgeService badgeService,
                      INotificationService notificationService, IPrivateMessageService privateMessageService,
                      IFavouriteService favouriteService, IMembershipUserPointsService membershipUserPointsService,
                      IActivityService activityService, IPollService pollService, ITopicService topicService,
                      ICategoryService categoryService, IPostService postService, ILoggingService loggingService)
 {
     _voteService                 = voteService;
     _badgeService                = badgeService;
     _notificationService         = notificationService;
     _privateMessageService       = privateMessageService;
     _favouriteService            = favouriteService;
     _membershipUserPointsService = membershipUserPointsService;
     _activityService             = activityService;
     _pollService                 = pollService;
     _topicService                = topicService;
     _categoryService             = categoryService;
     _postService                 = postService;
     _loggingService              = loggingService;
 }
Пример #36
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="unitOfWorkManager"> </param>
 /// <param name="membershipService"></param>
 /// <param name="localizationService"> </param>
 /// <param name="roleService"> </param>
 /// <param name="settingsService"> </param>
 /// <param name="loggingService"> </param>
 /// <param name="postService"> </param>
 /// <param name="topicService"> </param>
 /// <param name="membershipUserPointsService"> </param>
 /// <param name="activityService"> </param>
 /// <param name="pollService"> </param>
 /// <param name="pollVoteService"> </param>
 /// <param name="pollAnswerService"> </param>
 /// <param name="uploadedFileService"></param>
 public AccountController(ILoggingService loggingService,
     IUnitOfWorkManager unitOfWorkManager,
     IMembershipService membershipService,
     ILocalizationService localizationService,
     IRoleService roleService,
     ISettingsService settingsService, IPostService postService, ITopicService topicService, IMembershipUserPointsService membershipUserPointsService, 
     IActivityService activityService, IPollService pollService, IPollVoteService pollVoteService, IPollAnswerService pollAnswerService, IUploadedFileService uploadedFileService)
     : base(loggingService, unitOfWorkManager, membershipService, localizationService, settingsService)
 {
     _activityService = activityService;
     _roleService = roleService;
     _postService = postService;
     _topicService = topicService;
     _membershipUserPointsService = membershipUserPointsService;
     _pollService = pollService;
     _pollVoteService = pollVoteService;
     _pollAnswerService = pollAnswerService;
     _uploadedFileService = uploadedFileService;
 }
Пример #37
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="unitOfWorkManager"> </param>
 /// <param name="membershipService"></param>
 /// <param name="localizationService"> </param>
 /// <param name="roleService"> </param>
 /// <param name="settingsService"> </param>
 /// <param name="loggingService"> </param>
 /// <param name="postService"> </param>
 /// <param name="topicService"> </param>
 /// <param name="membershipUserPointsService"> </param>
 /// <param name="activityService"> </param>
 /// <param name="pollService"> </param>
 /// <param name="pollVoteService"> </param>
 /// <param name="pollAnswerService"> </param>
 /// <param name="uploadedFileService"></param>
 public AccountController(ILoggingService loggingService,
                          IUnitOfWorkManager unitOfWorkManager,
                          IMembershipService membershipService,
                          ILocalizationService localizationService,
                          IRoleService roleService,
                          ISettingsService settingsService, IPostService postService, ITopicService topicService, IMembershipUserPointsService membershipUserPointsService,
                          IActivityService activityService, IPollService pollService, IPollVoteService pollVoteService, IPollAnswerService pollAnswerService, IUploadedFileService uploadedFileService)
     : base(loggingService, unitOfWorkManager, membershipService, localizationService, settingsService)
 {
     _activityService             = activityService;
     _roleService                 = roleService;
     _postService                 = postService;
     _topicService                = topicService;
     _membershipUserPointsService = membershipUserPointsService;
     _pollService                 = pollService;
     _pollVoteService             = pollVoteService;
     _pollAnswerService           = pollAnswerService;
     _uploadedFileService         = uploadedFileService;
 }
Пример #38
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="membershipRepository"> </param>
 /// <param name="settingsRepository"> </param>
 /// <param name="emailService"> </param>
 /// <param name="localizationService"> </param>
 /// <param name="activityService"> </param>
 /// <param name="privateMessageService"> </param>
 /// <param name="membershipUserPointsService"> </param>
 /// <param name="topicNotificationService"> </param>
 /// <param name="voteService"> </param>
 /// <param name="badgeService"> </param>
 /// <param name="categoryNotificationService"> </param>
 /// <param name="api"> </param>
 /// <param name="loggingService"></param>
 public MembershipService(IMembershipRepository membershipRepository, ISettingsRepository settingsRepository,
                          IEmailService emailService, ILocalizationService localizationService, IActivityService activityService,
                          IPrivateMessageService privateMessageService, IMembershipUserPointsService membershipUserPointsService,
                          ITopicNotificationService topicNotificationService, IVoteService voteService, IBadgeService badgeService,
                          ICategoryNotificationService categoryNotificationService, IMVCForumAPI api, ILoggingService loggingService)
 {
     _membershipRepository        = membershipRepository;
     _settingsRepository          = settingsRepository;
     _emailService                = emailService;
     _localizationService         = localizationService;
     _activityService             = activityService;
     _privateMessageService       = privateMessageService;
     _membershipUserPointsService = membershipUserPointsService;
     _topicNotificationService    = topicNotificationService;
     _voteService  = voteService;
     _badgeService = badgeService;
     _categoryNotificationService = categoryNotificationService;
     _api            = api;
     _loggingService = loggingService;
 }
Пример #39
0
 public PostController(ILoggingService loggingService, IUnitOfWorkManager unitOfWorkManager, IMembershipService membershipService,
     ILocalizationService localizationService, IRoleService roleService, ITopicService topicService, IPostService postService,
     ISettingsService settingsService, ICategoryService categoryService, ITopicTagService topicTagService,
     ITopicNotificationService topicNotificationService, IEmailService emailService, IReportService reportService, IPollAnswerService pollAnswerService,
     IPollService pollService, IBannedWordService bannedWordService, IMembershipUserPointsService membershipUserPointsService, IVoteService voteService)
     : base(loggingService, unitOfWorkManager, membershipService, localizationService, roleService, settingsService)
 {
     _topicService = topicService;
     _postService = postService;
     _categoryService = categoryService;
     _topicTagService = topicTagService;
     _topicNotificationService = topicNotificationService;
     _emailService = emailService;
     _reportService = reportService;
     _pollAnswerService = pollAnswerService;
     _pollService = pollService;
     _bannedWordService = bannedWordService;
     _membershipUserPointsService = membershipUserPointsService;
     _voteService = voteService;
 }
Пример #40
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="membershipRepository"> </param>
 /// <param name="settingsRepository"> </param>
 /// <param name="emailService"> </param>
 /// <param name="localizationService"> </param>
 /// <param name="activityService"> </param>
 /// <param name="privateMessageService"> </param>
 /// <param name="membershipUserPointsService"> </param>
 /// <param name="topicNotificationService"> </param>
 /// <param name="voteService"> </param>
 /// <param name="badgeService"> </param>
 /// <param name="categoryNotificationService"> </param>
 /// <param name="api"> </param>
 /// <param name="loggingService"></param>
 public MembershipService(IMembershipRepository membershipRepository, ISettingsRepository settingsRepository,
     IEmailService emailService, ILocalizationService localizationService, IActivityService activityService, 
     IPrivateMessageService privateMessageService, IMembershipUserPointsService membershipUserPointsService, 
     ITopicNotificationService topicNotificationService, IVoteService voteService, IBadgeService badgeService,
     ICategoryNotificationService categoryNotificationService, IMVCForumAPI api, ILoggingService loggingService)
 {
     _membershipRepository = membershipRepository;
     _settingsRepository = settingsRepository;
     _emailService = emailService;
     _localizationService = localizationService;
     _activityService = activityService;
     _privateMessageService = privateMessageService;
     _membershipUserPointsService = membershipUserPointsService;
     _topicNotificationService = topicNotificationService;
     _voteService = voteService;
     _badgeService = badgeService;
     _categoryNotificationService = categoryNotificationService;
     _api = api;
     _loggingService = loggingService;
 }
Пример #41
0
 public PostController(ILoggingService loggingService, IUnitOfWorkManager unitOfWorkManager, IMembershipService membershipService,
                       ILocalizationService localizationService, IRoleService roleService, ITopicService topicService, IPostService postService,
                       ISettingsService settingsService, ICategoryService categoryService, ITopicTagService topicTagService,
                       ITopicNotificationService topicNotificationService, IEmailService emailService, IReportService reportService, IPollAnswerService pollAnswerService,
                       IPollService pollService, IBannedWordService bannedWordService, IMembershipUserPointsService membershipUserPointsService, IVoteService voteService)
     : base(loggingService, unitOfWorkManager, membershipService, localizationService, roleService, settingsService)
 {
     _topicService                = topicService;
     _postService                 = postService;
     _categoryService             = categoryService;
     _topicTagService             = topicTagService;
     _topicNotificationService    = topicNotificationService;
     _emailService                = emailService;
     _reportService               = reportService;
     _pollAnswerService           = pollAnswerService;
     _pollService                 = pollService;
     _bannedWordService           = bannedWordService;
     _membershipUserPointsService = membershipUserPointsService;
     _voteService                 = voteService;
 }
Пример #42
0
        public VoteController(ILoggingService loggingService,
            IUnitOfWorkManager unitOfWorkManager,
            IMembershipService membershipService,
            ILocalizationService localizationService,
            IRoleService roleService,
            IPostService postService,
            IVoteService voteService,
            ISettingsService settingsService,
            ITopicService topicService,
            IMembershipUserPointsService membershipUserPointsService,
            IBadgeService badgeService)
            : base(loggingService, unitOfWorkManager, membershipService, localizationService, roleService, settingsService)
        {
            _postService = postService;
            _voteService = voteService;
            _topicService = topicService;
            _membershipUserPointsService = membershipUserPointsService;
            _badgeService = badgeService;

            LoggedOnUser = UserIsAuthenticated ? MembershipService.GetUser(Username) : null;
        }
Пример #43
0
        public VoteController(ILoggingService loggingService,
                              IUnitOfWorkManager unitOfWorkManager,
                              IMembershipService membershipService,
                              ILocalizationService localizationService,
                              IRoleService roleService,
                              IPostService postService,
                              IVoteService voteService,
                              ISettingsService settingsService,
                              ITopicService topicService,
                              IMembershipUserPointsService membershipUserPointsService,
                              IBadgeService badgeService)
            : base(loggingService, unitOfWorkManager, membershipService, localizationService, roleService, settingsService)
        {
            _postService  = postService;
            _voteService  = voteService;
            _topicService = topicService;
            _membershipUserPointsService = membershipUserPointsService;
            _badgeService = badgeService;

            LoggedOnUser = UserIsAuthenticated ? MembershipService.GetUser(Username) : null;
        }
Пример #44
0
        public TopicController(ILoggingService loggingService, IUnitOfWorkManager unitOfWorkManager, IMembershipService membershipService, IRoleService roleService, ITopicService topicService, IPostService postService,
                               ICategoryService categoryService, ILocalizationService localizationService, ISettingsService settingsService, ITopicTagService topicTagService, IMembershipUserPointsService membershipUserPointsService,
                               ICategoryNotificationService categoryNotificationService, IEmailService emailService, ITopicNotificationService topicNotificationService, ILuceneService luceneService, IPollService pollService,
                               IPollAnswerService pollAnswerService, IBannedWordService bannedWordService)
            : base(loggingService, unitOfWorkManager, membershipService, localizationService, roleService, settingsService)
        {
            _topicService                = topicService;
            _postService                 = postService;
            _categoryService             = categoryService;
            _topicTagService             = topicTagService;
            _membershipUserPointsService = membershipUserPointsService;
            _categoryNotificationService = categoryNotificationService;
            _emailService                = emailService;
            _topicNotificationService    = topicNotificationService;
            _luceneService               = luceneService;
            _pollService                 = pollService;
            _pollAnswerService           = pollAnswerService;
            _bannedWordService           = bannedWordService;

            LoggedOnUser = UserIsAuthenticated ? MembershipService.GetUser(Username) : null;
            UsersRole    = LoggedOnUser == null?RoleService.GetRole(AppConstants.GuestRoleName) : LoggedOnUser.Roles.FirstOrDefault();
        }
Пример #45
0
        public TopicController(ILoggingService loggingService, IUnitOfWorkManager unitOfWorkManager, IMembershipService membershipService, IRoleService roleService, ITopicService topicService, IPostService postService,
            ICategoryService categoryService, ILocalizationService localizationService, ISettingsService settingsService, ITopicTagService topicTagService, IMembershipUserPointsService membershipUserPointsService,
            ICategoryNotificationService categoryNotificationService, IEmailService emailService, ITopicNotificationService topicNotificationService, ILuceneService luceneService, IPollService pollService,
            IPollAnswerService pollAnswerService, IBannedWordService bannedWordService)
            : base(loggingService, unitOfWorkManager, membershipService, localizationService, roleService, settingsService)
        {
            _topicService = topicService;
            _postService = postService;
            _categoryService = categoryService;
            _topicTagService = topicTagService;
            _membershipUserPointsService = membershipUserPointsService;
            _categoryNotificationService = categoryNotificationService;
            _emailService = emailService;
            _topicNotificationService = topicNotificationService;
            _luceneService = luceneService;
            _pollService = pollService;
            _pollAnswerService = pollAnswerService;
            _bannedWordService = bannedWordService;

            LoggedOnUser = UserIsAuthenticated ? MembershipService.GetUser(Username) : null;
            UsersRole = LoggedOnUser == null ? RoleService.GetRole(AppConstants.GuestRoleName) : LoggedOnUser.Roles.FirstOrDefault();
        }
Пример #46
0
 public UserScrubPipe(IVoteService voteService,
                      INotificationService notificationService,
                      IFavouriteService favouriteService,
                      IMembershipUserPointsService membershipUserPointsService,
                      IActivityService activityService,
                      IPollService pollService,
                      ITopicService topicService,
                      IGroupService groupService,
                      IPostService postService,
                      ILoggingService loggingService)
 {
     _voteService                 = voteService;
     _notificationService         = notificationService;
     _favouriteService            = favouriteService;
     _membershipUserPointsService = membershipUserPointsService;
     _activityService             = activityService;
     _pollService                 = pollService;
     _topicService                = topicService;
     _groupService                = groupService;
     _postService                 = postService;
     _loggingService              = loggingService;
 }
Пример #47
0
 public TopicController(ILoggingService loggingService, IUnitOfWorkManager unitOfWorkManager, IMembershipService membershipService, IRoleService roleService, ITopicService topicService, IPostService postService,
     ICategoryService categoryService, ILocalizationService localizationService, ISettingsService settingsService, ITopicTagService topicTagService, IMembershipUserPointsService membershipUserPointsService,
     ICategoryNotificationService categoryNotificationService, IEmailService emailService, ITopicNotificationService topicNotificationService, IPollService pollService,
     IPollAnswerService pollAnswerService, IBannedWordService bannedWordService, IVoteService voteService, IFavouriteService favouriteService, IUploadedFileService uploadedFileService, ICacheService cacheService, ITagNotificationService tagNotificationService)
     : base(loggingService, unitOfWorkManager, membershipService, localizationService, roleService, settingsService)
 {
     _topicService = topicService;
     _postService = postService;
     _categoryService = categoryService;
     _topicTagService = topicTagService;
     _membershipUserPointsService = membershipUserPointsService;
     _categoryNotificationService = categoryNotificationService;
     _emailService = emailService;
     _topicNotificationService = topicNotificationService;
     _pollService = pollService;
     _pollAnswerService = pollAnswerService;
     _bannedWordService = bannedWordService;
     _voteService = voteService;
     _favouriteService = favouriteService;
     _uploadedFileService = uploadedFileService;
     _cacheService = cacheService;
     _tagNotificationService = tagNotificationService;
 }
Пример #48
0
 public VoteService(IMVCForumContext context, IMembershipUserPointsService membershipUserPointsService)
 {
     _membershipUserPointsService = membershipUserPointsService;
     _context = context as MVCForumContext;
 }
Пример #49
0
 public VoteService(IVoteRepository voteRepository, IMembershipUserPointsService membershipUserPointsService)
 {
     _voteRepository = voteRepository;
     _membershipUserPointsService = membershipUserPointsService;
 }