コード例 #1
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");
        }
コード例 #2
0
 public MessagesController(
     UserServices userServices,
     MessageServices messageServicess,
     IRepository<Message> messageRepository,
     ParseServices parseServices,
     EmailServices emailServices)
 {
     _userServices = userServices;
     _messageServices = messageServicess;
     _parseServices = parseServices;
     _emailServices = emailServices;
     SetCrumbs("User CP", "User CP");
 }
コード例 #3
0
 public UserController(
     ThemeServices themes,
     UserServices users,
     ParseServices parseServices,
     MessageServices messageServices,
     EmailServices emailServices,
     FileServices fileServices,
     RoleServices roleServices)
 {
     _themeServices = themes;
     _userServices = users;
     _parseServices = parseServices;
     _messageServices = messageServices;
     _emailServices = emailServices;
     _fileServices = fileServices;
     _roleServices = roleServices;
     SetTopBreadCrumb("User CP");
     SetBreadCrumb("User CP");
 }