コード例 #1
0
        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;
        }
コード例 #2
0
 public ContentTreeCacheImplementation(ITreeNodeRepository treeNodeRepository, 
     IContentTreeNodeProviderContext contentTreeNodeProviderContext,
     ICommandBus commandBus,
     IGuidGetter guidGetter,
     IGetPathToDataDirectoryService getPathToDataDirectoryService)
     : base(treeNodeRepository, contentTreeNodeProviderContext, commandBus, guidGetter)
 {
     this.getPathToDataDirectoryService = getPathToDataDirectoryService;
 }
コード例 #3
0
 public TreeNodeSummaryContext(ITreeNodeRepository treeNodeRepository, 
     ITreeNodeProviderContext treeNodeProviderContext,
     ICommandBus commandBus,
     IGuidGetter guidGetter)
 {
     this.guidGetter = guidGetter;
     this.commandBus = commandBus;
     this.treeNodeProviderContext = treeNodeProviderContext;
     this.treeNodeRepository = treeNodeRepository;
 }
コード例 #4
0
 public TextTemplateBatchProcessor(IGuidGetter guidGetter, 
     IFileSystem fileSystem,
     IGetWorkingFolderPath getWorkingFolderPath,
     ITextTemplateZipProcessor textTemplateZipProcessor)
 {
     this.textTemplateZipProcessor = textTemplateZipProcessor;
     this.getWorkingFolderPath = getWorkingFolderPath;
     this.guidGetter = guidGetter;
     this.fileSystem = fileSystem;
 }
コード例 #5
0
 public TextTemplateBatchProcessor(IGuidGetter guidGetter,
                                   IFileSystem fileSystem,
                                   IGetWorkingFolderPath getWorkingFolderPath,
                                   ITextTemplateZipProcessor textTemplateZipProcessor)
 {
     this.textTemplateZipProcessor = textTemplateZipProcessor;
     this.getWorkingFolderPath     = getWorkingFolderPath;
     this.guidGetter = guidGetter;
     this.fileSystem = fileSystem;
 }
コード例 #6
0
ファイル: ContentTree.cs プロジェクト: burkhartt/Bennington
 public ContentTree(ITreeNodeRepository treeNodeRepository, 
     IContentTreeNodeProviderContext contentTreeNodeProviderContext,
     ICommandBus commandBus,
     IGuidGetter guidGetter)
 {
     this.guidGetter = guidGetter;
     this.commandBus = commandBus;
     this.contentTreeNodeProviderContext = contentTreeNodeProviderContext;
     this.treeNodeRepository = treeNodeRepository;
 }
コード例 #7
0
        public ContentTreeSectionNodeController(IContentTreeSectionNodeRepository contentTreeSectionNodeRepository, 
												IContentTreeSectionNodeToContentTreeSectionInputModelMapper contentTreeSectionNodeToContentTreeSectionInputModelMapper,
												ICommandBus commandBus,
												IContentTree contentTree,
												IGuidGetter guidGetter,
                                                ICurrentUserContext currentUserContext)
        {
            this.currentUserContext = currentUserContext;
            this.guidGetter = guidGetter;
            this.contentTree = contentTree;
            this.commandBus = commandBus;
            this.contentTreeSectionNodeToContentTreeSectionInputModelMapper = contentTreeSectionNodeToContentTreeSectionInputModelMapper;
            this.contentTreeSectionNodeRepository = contentTreeSectionNodeRepository;
        }
コード例 #8
0
 public UserController(IIndexViewModelBuilder indexViewModelBuilder,
     IModifyViewModelBuilder modifyViewModelBuilder,
     IProcessUserInputModelService processUserInputModelService,
     IUserRepository userRepository,
     IUserToUserInputModelMapper userToUserInputModelMapper,
     IGuidGetter guidGetter)
 {
     this.guidGetter = guidGetter;
     this.userToUserInputModelMapper = userToUserInputModelMapper;
     this.userRepository = userRepository;
     this.processUserInputModelService = processUserInputModelService;
     this.modifyViewModelBuilder = modifyViewModelBuilder;
     this.indexViewModelBuilder = indexViewModelBuilder;
 }
コード例 #9
0
 public EasyObjectStore(IXmlFileSerializationHelper xmlFileSerializationHelper,
                        IGetDataPathForType getDataPathForType,
                        IGetValueOfIdPropertyForInstance getValueOfIdPropertyForInstance,
                        IGuidGetter guidGetter,
                        IFileSystem fileSystem,
                        ISetValueOfIdProperty setValueOfIdProperty)
 {
     this.setValueOfIdProperty            = setValueOfIdProperty;
     this.fileSystem                      = fileSystem;
     this.guidGetter                      = guidGetter;
     this.getValueOfIdPropertyForInstance = getValueOfIdPropertyForInstance;
     this.getDataPathForType              = getDataPathForType;
     this.xmlFileSerializationHelper      = xmlFileSerializationHelper;
 }
 public TextTemplateBatchManagerController(IIndexViewModelBuilder indexViewModelBuilder,
                                           IGuidGetter guidGetter,
                                           IModifyViewModelBuilder modifyViewModelBuilder,
                                           ITextTemplateBatchToTextTemplateBatchModifyInputModelMapper textTemplateBatchToTextTemplateBatchModifyInputModelMapper,
                                           ITextTemplateBatchRepository textTemplateBatchRepository,
                                           IProcessTextTemplateBatchModifyInputModelService processTextTemplateBatchModifyInputModelService,
                                           IGetWorkingFolderPath getWorkingFolderPath,
                                           IFileSystem fileSystem)
 {
     this.fileSystem           = fileSystem;
     this.getWorkingFolderPath = getWorkingFolderPath;
     this.processTextTemplateBatchModifyInputModelService = processTextTemplateBatchModifyInputModelService;
     this.textTemplateBatchRepository = textTemplateBatchRepository;
     this.textTemplateBatchToTextTemplateBatchModifyInputModelMapper = textTemplateBatchToTextTemplateBatchModifyInputModelMapper;
     this.modifyViewModelBuilder = modifyViewModelBuilder;
     this.guidGetter             = guidGetter;
     this.indexViewModelBuilder  = indexViewModelBuilder;
 }
コード例 #11
0
        public Pool(
            ActorService actorService,
            ActorId actorId,
            IGuidGetter guidGetter                   = null,
            TelemetryClient telemetry                = null,
            IActorProxyFactory actorProxyFactory     = null,
            IServiceProxyFactory serviceProxyFactory = null)
            : base(actorService, actorId)
        {
            _kernel = new StandardKernel(new PoolActorModule(guidGetter))
                      .WithCore(actorService.Context, StateManager, telemetry: telemetry,
                                actorProxyFactory: actorProxyFactory, serviceProxyFactory: serviceProxyFactory)
                      .WithMediator()
                      .WithPools();

            _telemetryClient = _kernel.Get <TelemetryClient>();
            _mediator        = _kernel.Get <Mediator>();
        }
 public TextTemplateBatchManagerController(IIndexViewModelBuilder indexViewModelBuilder, 
     IGuidGetter guidGetter,
     IModifyViewModelBuilder modifyViewModelBuilder,
     ITextTemplateBatchToTextTemplateBatchModifyInputModelMapper textTemplateBatchToTextTemplateBatchModifyInputModelMapper,
     ITextTemplateBatchRepository textTemplateBatchRepository,
     IProcessTextTemplateBatchModifyInputModelService processTextTemplateBatchModifyInputModelService,
     IGetWorkingFolderPath getWorkingFolderPath,
     IFileSystem fileSystem)
 {
     this.fileSystem = fileSystem;
     this.getWorkingFolderPath = getWorkingFolderPath;
     this.processTextTemplateBatchModifyInputModelService = processTextTemplateBatchModifyInputModelService;
     this.textTemplateBatchRepository = textTemplateBatchRepository;
     this.textTemplateBatchToTextTemplateBatchModifyInputModelMapper = textTemplateBatchToTextTemplateBatchModifyInputModelMapper;
     this.modifyViewModelBuilder = modifyViewModelBuilder;
     this.guidGetter = guidGetter;
     this.indexViewModelBuilder = indexViewModelBuilder;
 }
コード例 #13
0
 public Repository(IXmlFileSerializationHelper xmlFileSerializationHelper, IGetDataPathForType getDataPathForType, IGetValueOfIdPropertyForInstance getValueOfIdPropertyForInstance, IGuidGetter guidGetter, IFileSystem fileSystem, ISetValueOfIdProperty setValueOfIdProperty) : base(xmlFileSerializationHelper, getDataPathForType, getValueOfIdPropertyForInstance, guidGetter, fileSystem, setValueOfIdProperty)
 {
 }
コード例 #14
0
 private static MockActorService <Pool> CreatePoolActorService(TelemetryClient telemetryClient, IActorProxyFactory actorProxyFactory,
                                                               IGuidGetter guidGetter)
 {
     return(MockActorServiceFactory.CreateActorServiceForActor <Pool>((svc, id) =>
                                                                      new Pool(svc, id, guidGetter, telemetryClient, actorProxyFactory)));
 }
コード例 #15
0
 public InstanceProxy(IActorProxyFactory actorProxyFactory, IGuidGetter guidGetter)
 {
     _actorProxyFactory = actorProxyFactory;
     _guidGetter        = guidGetter;
 }
コード例 #16
0
 public HomepageContentTreeNodeController(IContentTreeNodeVersionContext contentTreeNodeVersionContext, IContentTreeNodeToContentTreeNodeInputModelMapper contentTreeNodeToContentTreeNodeInputModelMapper, IContentTreeNodeInputModelToContentTreeNodeMapper contentTreeNodeInputModelToContentTreeNodeMapper, IContentTreeNodeContext contentTreeNodeContext, ITreeNodeRepository treeNodeRepository, ITreeNodeProviderContext treeNodeProviderContext, IContentTreeNodeDisplayViewModelBuilder contentTreeNodeDisplayViewModelBuilder, IRawUrlGetter rawUrlGetter, ICommandBus commandBus, IGuidGetter guidGetter, IContentTreeNodeFileUploadPersister contentTreeNodeFileUploadPersister)
     : base(contentTreeNodeVersionContext, contentTreeNodeToContentTreeNodeInputModelMapper, contentTreeNodeInputModelToContentTreeNodeMapper, contentTreeNodeContext, treeNodeRepository, treeNodeProviderContext, contentTreeNodeDisplayViewModelBuilder, rawUrlGetter, commandBus, guidGetter, contentTreeNodeFileUploadPersister)
 {
 }
コード例 #17
0
 public PoolActorModule(IGuidGetter guidGetter = null)
 {
     this.guidGetter = guidGetter;
 }