示例#1
0
 public FolderContentFolderService(IConstance constance, IFolderContentFileService folderContentFileService)
 {
     _folderContentFolderRepository = new FolderContentFolderRepository(constance);
     _folderContentPageService      = new FolderContentPageService(constance);
     _folderContentFileService      = folderContentFileService;
     this._constance = constance;
 }
示例#2
0
        public FolderContentService(IConstance constance, IFolderContentConcurrentManager concurrentManager)
        {
            _constance                  = constance;
            _concurrentManager          = concurrentManager;
            _searchCache                = new SearchCache();
            _folderContentPageService   = new FolderContentPageService(constance);
            _folderContentFileService   = new FolderContentFileService(constance);
            _folderContentFolderService = new FolderContentFolderService(constance);

            InitializeBaseFolder();
            InitializeHomeFolder();
        }