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 ContentTreeCacheImplementation(ITreeNodeRepository treeNodeRepository, 
     IContentTreeNodeProviderContext contentTreeNodeProviderContext,
     ICommandBus commandBus,
     IGuidGetter guidGetter,
     IGetPathToDataDirectoryService getPathToDataDirectoryService)
     : base(treeNodeRepository, contentTreeNodeProviderContext, commandBus, guidGetter)
 {
     this.getPathToDataDirectoryService = getPathToDataDirectoryService;
 }
 public TreeNodeSummaryContext(ITreeNodeRepository treeNodeRepository, 
     ITreeNodeProviderContext treeNodeProviderContext,
     ICommandBus commandBus,
     IGuidGetter guidGetter)
 {
     this.guidGetter = guidGetter;
     this.commandBus = commandBus;
     this.treeNodeProviderContext = treeNodeProviderContext;
     this.treeNodeRepository = treeNodeRepository;
 }
 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
 public ContentTree(ITreeNodeRepository treeNodeRepository, 
     IContentTreeNodeProviderContext contentTreeNodeProviderContext,
     ICommandBus commandBus,
     IGuidGetter guidGetter)
 {
     this.guidGetter = guidGetter;
     this.commandBus = commandBus;
     this.contentTreeNodeProviderContext = contentTreeNodeProviderContext;
     this.treeNodeRepository = treeNodeRepository;
 }
        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;
 }
 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;
 }
        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)));
 }
 public InstanceProxy(IActorProxyFactory actorProxyFactory, IGuidGetter guidGetter)
 {
     _actorProxyFactory = actorProxyFactory;
     _guidGetter        = guidGetter;
 }
 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;
 }