예제 #1
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();
        }
 public FolderContentFileService(IConstance constance, IFolderContentFolderService folderContentFolderService)
 {
     _folderContentFolderService  = folderContentFolderService;
     _folderContentPageService    = new FolderContentPageService(constance);
     _folderContentFileRepository = new FolderContentFileRepository(constance);
 }
 public FolderContentConcurrentManager(IConstance constance)
 {
     _folderContentPageService           = new FolderContentPageService(constance);
     _folderContentFolderService         = new FolderContentFolderService(constance);
     _concurrentOperationToFolderContent = new Dictionary <IFolderContent, ICollection <IFolderContent> >();
 }