예제 #1
0
 public ForumPortalService(IActionContextAccessor actionContextAccessor, IAuthenticationService authenticationService, IAuthorizationService authorizationService, IForumAuthorizer forumAuthorizer, IForumConfigurationService forumConfigurationService, IForumService forumService, IUrlHelperFactory urlHelperFactory)
 {
     _actionContextAccessor     = actionContextAccessor;
     _authenticationService     = authenticationService;
     _authorizationService      = authorizationService;
     _forumAuthorizer           = forumAuthorizer;
     _forumConfigurationService = forumConfigurationService;
     _forumService     = forumService;
     _urlHelperFactory = urlHelperFactory;
 }
예제 #2
0
 public ForumService(IEmailService emailService, IForumAuthorizer forumAuthorizer, IForumConfigurationService forumConfigurationService, IForumRepository forumRepository, IForumValidator forumValidator, IUserRepository userRepository, IWebHelperService webHelperService)
 {
     _emailService              = emailService;
     _forumAuthorizer           = forumAuthorizer;
     _forumConfigurationService = forumConfigurationService;
     _forumRepository           = forumRepository;
     _forumValidator            = forumValidator;
     _userRepository            = userRepository;
     _webHelperService          = webHelperService;
 }
예제 #3
0
 public TopicService(IUserProvider userProvider,
                     IForumRepository forumRepo,
                     ITopicRepository topicRepo,
                     IEventPublisher eventPublisher,
                     ILogger logger,
                     IPermissionService permService,
                     IForumConfigurationService confService)
 {
     this.userProvider   = userProvider;
     this.topicRepo      = topicRepo;
     this.forumRepo      = forumRepo;
     this.confService    = confService;
     this.logger         = logger;
     this.eventPublisher = eventPublisher;
     this.permService    = permService;
 }
예제 #4
0
 public FollowerEventSubscriber(IFollowerService followerService,
                                IOutDataService mailService,
                                ITopicRepository topicRepo,
                                IPostRepository postRepo,
                                IUserProvider userProvider,
                                ITextProvider textProvider,
                                IForumConfigurationService confService,
                                ILogger logger)
 {
     this.followerService = followerService;
     this.mailService     = mailService;
     this.textProvider    = textProvider;
     this.logger          = logger;
     this.postRepo        = postRepo;
     this.userProvider    = userProvider;
     this.topicRepo       = topicRepo;
     this.confService     = confService;
 }
예제 #5
0
		public PostService(IUserProvider userProvider,
							IForumRepository forumRepo,
							ITopicRepository topicRepo,
							IPostRepository postRepo,
							IEventPublisher eventPublisher,
							ILogger logger,
							IPermissionService permService,
							IForumConfigurationService confService) {

			this.userProvider = userProvider;
			this.postRepo = postRepo;
			this.topicRepo = topicRepo;
			this.forumRepo = forumRepo;
			this.logger = logger;
			this.eventPublisher = eventPublisher;
			this.permService = permService;
			this.confService = confService;
		}