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; }
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>(); }
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; }