public ContentTreeNodeController(IContentTreePageNodeContext contentTreePageNodeContext, 
											IContentTreeNodeToContentTreeNodeInputModelMapper contentTreeNodeToContentTreeNodeInputModelMapper,
            ITreeNodeRepository treeNodeRepository, 
											IContentTreeNodeProviderContext contentTreeNodeProviderContext,  
											IContentTreeNodeDisplayViewModelBuilder contentTreeNodeDisplayViewModelBuilder, 
											IRawUrlGetter rawUrlGetter,
											ICommandBus commandBus,
											IGuidGetter guidGetter,
											IContentTreeNodeFileUploadPersister contentTreeNodeFileUploadPersister,
                                            ICurrentUserContext currentUserContext,
                                            ITreeNodeIdToUrl treeNodeIdToUrl,
                                            IGetUrlOfFrontSideWebsite getUrlOfFrontSideWebsite,
                                            IContentTree contentTree,
                                            IContentTreeNodeMetaInformationViewModelBuilder contentTreeNodeMetaInformationViewModelBuilder)
        {
            CurrentUserContext = currentUserContext;
            this.contentTreeNodeMetaInformationViewModelBuilder = contentTreeNodeMetaInformationViewModelBuilder;
            this.contentTree = contentTree;
            this.getUrlOfFrontSideWebsite = getUrlOfFrontSideWebsite;
            this.treeNodeIdToUrl = treeNodeIdToUrl;
            this.currentUserContext = currentUserContext;
            this.contentTreeNodeFileUploadPersister = contentTreeNodeFileUploadPersister;
            this.guidGetter = guidGetter;
            this.commandBus = commandBus;
            this.contentTreeNodeProviderContext = contentTreeNodeProviderContext;
            this.treeNodeRepository = treeNodeRepository;
            this.contentTreeNodeToContentTreeNodeInputModelMapper = contentTreeNodeToContentTreeNodeInputModelMapper;
            this.contentTreePageNodeContext = contentTreePageNodeContext;
        }
 public ContentTreeSectionController(ITreeNodeIdToUrl treeNodeIdToUrl, 
     IContentTreeSectionNodeRepository contentTreeSectionNodeRepository,
     IUrlToTreeNodeSummaryMapper	urlToTreeNodeSummaryMapper)
 {
     this.urlToTreeNodeSummaryMapper = urlToTreeNodeSummaryMapper;
     this.contentTreeSectionNodeRepository = contentTreeSectionNodeRepository;
     this.treeNodeIdToUrl = treeNodeIdToUrl;
 }
Пример #3
0
 public EngineController()
 {
     this.contentTreeNodeVersionContext = ServiceLocatorManager.Current.Resolve<IContentTreeNodeVersionContext>();
     this.treeNodeRepository = ServiceLocatorManager.Current.Resolve<ITreeNodeRepository>();
     this.treeNodeIdToUrl = ServiceLocatorManager.Current.Resolve<ITreeNodeIdToUrl>();
     this.urlToTreeNodeSummaryMapper = ServiceLocatorManager.Current.Resolve<IUrlToTreeNodeSummaryMapper>();
     this.rawUrlGetter = ServiceLocatorManager.Current.Resolve<IRawUrlGetter>();
 }
Пример #4
0
 public ToolLinkController(ITreeNodeRepository treeNodeRepository, 
     ITreeNodeIdToUrl treeNodeIdToUrl,
     IUrlToTreeNodeSummaryMapper urlToTreeNodeSummaryMapper,
     IRawUrlGetter rawUrlGetter,
     IToolLinkProviderDraftRepository toolLinkProviderDraftRepository)
 {
     this.toolLinkProviderDraftRepository = toolLinkProviderDraftRepository;
     this.rawUrlGetter = rawUrlGetter;
     this.urlToTreeNodeSummaryMapper = urlToTreeNodeSummaryMapper;
     this.treeNodeIdToUrl = treeNodeIdToUrl;
     this.treeNodeRepository = treeNodeRepository;
 }