コード例 #1
0
 public ThreadServices(
     IRepository<Thread> threadRepository,
     IRepository<ThreadView> threadViewRepository,
     IRepository<Post> postRepository,
     IRepository<User> userRepository,
     IRepository<ThreadViewStamp> threadViewStampRepository,
     IRepository<Subscription> subscriptionRepository,
     IRepository<Attachment> attachmentRepository,
     PollServices pollServices,
     FileServices fileServices,
     ParseServices parseServices,
     RoleServices roleServices,
     IUnitOfWork unitOfWork)
     : base(unitOfWork)
 {
     _threadRepository = threadRepository;
     _threadViewRepository = threadViewRepository;
     _postRepository = postRepository;
     _userRepository = userRepository;
     _threadViewStampRepository = threadViewStampRepository;
     _subscriptionRepository = subscriptionRepository;
     _attachmentRepository = attachmentRepository;
     _pollServices = pollServices;
     _fileServices = fileServices;
     _parseServices = parseServices;
     _roleServices = roleServices;
 }
コード例 #2
0
 public ThreadServices(
     IRepository <Thread> threadRepository,
     IRepository <ThreadView> threadViewRepository,
     IRepository <Post> postRepository,
     IRepository <User> userRepository,
     IRepository <ThreadViewStamp> threadViewStampRepository,
     IRepository <Subscription> subscriptionRepository,
     IRepository <Attachment> attachmentRepository,
     PollServices pollServices,
     FileServices fileServices,
     ParseServices parseServices,
     RoleServices roleServices,
     IUnitOfWork unitOfWork)
     : base(unitOfWork)
 {
     _threadRepository          = threadRepository;
     _threadViewRepository      = threadViewRepository;
     _postRepository            = postRepository;
     _userRepository            = userRepository;
     _threadViewStampRepository = threadViewStampRepository;
     _subscriptionRepository    = subscriptionRepository;
     _attachmentRepository      = attachmentRepository;
     _pollServices  = pollServices;
     _fileServices  = fileServices;
     _parseServices = parseServices;
     _roleServices  = roleServices;
 }
コード例 #3
0
        public BoardController(
            ForumServices forumServices,
            SearchServices searchServices,
            ThreadServices threadServices,
            PostServices postServices,
            PollServices pollServices,
            GlobalServices globalServices,
            IRepository<OnlineUser> onlineUserRepository,
            IRepository<OnlineGuest> onlineGuestRepository,
            IRepository<User> userRepository,
            UserServices usersServices,
            RoleServices roleServices,
            MessageServices messageServices,
            PermissionServices permissionServices,
            FileServices fileServices)
        {
            _forumServices = forumServices;
            _searchServices = searchServices;
            _threadServices = threadServices;
            _postServices = postServices;
            _pollServices = pollServices;
            _onlineUserRepository = onlineUserRepository;
            _onlineGuestRepository = onlineGuestRepository;
            _userRepository = userRepository;
            _userServices = usersServices;
            _roleServices = roleServices;
            _messageServices = messageServices;
            _permissionServices = permissionServices;
            _fileServices = fileServices;

            SetTopBreadCrumb("Board");
        }
コード例 #4
0
 public PostController(
     IRepository<Smiley> smileyRepository, 
     ForumServices forumServices,
     PostServices postServices,
     ThreadServices threadServices,
     FileServices fileServices,
     PollServices pollServices,
     EmailServices emailServices,
     PermissionServices permissionServices,
     ParseServices parseServices)
 {
     _smileyRepository = smileyRepository;
     _forumServices = forumServices;
     _postServices = postServices;
     _threadServices = threadServices;
     _fileServices = fileServices;
     _pollServices = pollServices;
     _emailServices = emailServices;
     _permissionServices = permissionServices;
     _parseServices = parseServices;
 }