protected NavigationControllerBase(
     ILeftSideNavigationModelBuilder leftSideNavigationModelBuilder,
     ISubNavigationModelBuilder subNavigationModelBuilder,
     ITopNavigationModelBuilder topNavigationModelBuilder,
     ISystemLinksModelBuilder systemLinksModelBuilder,
     IIntranetMemberService <IIntranetMember> intranetMemberService,
     IProfileLinkProvider profileLinkProvider)
 {
     _leftSideNavigationModelBuilder = leftSideNavigationModelBuilder;
     _subNavigationModelBuilder      = subNavigationModelBuilder;
     _topNavigationModelBuilder      = topNavigationModelBuilder;
     _systemLinksModelBuilder        = systemLinksModelBuilder;
     _intranetMemberService          = intranetMemberService;
     _profileLinkProvider            = profileLinkProvider;
 }
Esempio n. 2
0
 protected NavigationControllerBase(
     ILeftSideNavigationModelBuilder leftSideNavigationModelBuilder,
     ISubNavigationModelBuilder subNavigationModelBuilder,
     ITopNavigationModelBuilder topNavigationModelBuilder,
     ISystemLinksModelBuilder systemLinksModelBuilder,
     IIntranetUserService <IIntranetUser> intranetUserService,
     IProfileLinkProvider profileLinkProvider,
     IPermissionsService permissionsService,
     IUserService userService)
 {
     _leftSideNavigationModelBuilder = leftSideNavigationModelBuilder;
     _subNavigationModelBuilder      = subNavigationModelBuilder;
     _topNavigationModelBuilder      = topNavigationModelBuilder;
     _systemLinksModelBuilder        = systemLinksModelBuilder;
     _intranetUserService            = intranetUserService;
     _profileLinkProvider            = profileLinkProvider;
     _permissionsService             = permissionsService;
     _userService = userService;
 }
        public NavigationController(
            ILeftSideNavigationModelBuilder leftSideNavigationModelBuilder,
            ISubNavigationModelBuilder subNavigationModelBuilder,
            ITopNavigationModelBuilder topNavigationModelBuilder,
            ICentralFeedContentService centralFeedContentService,
            ISystemLinksModelBuilder systemLinksModelBuilder,
            IDocumentTypeAliasProvider documentTypeAliasProvider,
            IGroupService groupService,
            IGroupFeedContentService groupFeedContentService,
            IIntranetUserService <IntranetUser> intranetUserService,
            IGroupLinkProvider groupLinkProvider,
            IGroupContentProvider groupContentProvider,
            IGroupHelper groupHelper,
            ICentralFeedHelper centralFeedHelper,
            IProfileLinkProvider profileLinkProvider,
            IPermissionsService permissionsService,
            IUserService userService,
            IGroupContentProvider contentProvider)
            : base(
                leftSideNavigationModelBuilder,
                subNavigationModelBuilder,
                topNavigationModelBuilder,
                systemLinksModelBuilder,
                intranetUserService,
                profileLinkProvider,
                permissionsService,
                userService)
        {
            _documentTypeAliasProvider = documentTypeAliasProvider;
            _groupService              = groupService;
            _groupFeedContentService   = groupFeedContentService;
            _intranetUserService       = intranetUserService;
            _groupLinkProvider         = groupLinkProvider;
            _groupContentProvider      = groupContentProvider;
            _subNavigationModelBuilder = subNavigationModelBuilder;
            _groupHelper       = groupHelper;
            _centralFeedHelper = centralFeedHelper;

            SystemLinksContentXPath = $"root/{_documentTypeAliasProvider.GetDataFolder()}[@isDoc]/{_documentTypeAliasProvider.GetSystemLinkFolder()}[@isDoc]/{_documentTypeAliasProvider.GetSystemLink()}[@isDoc]";
        }