Пример #1
0
        public List <Note> GetNotesFromDisc(Notebook noteBook)
        {
            var di = GetGroupDirectory(noteBook);

            var files = di.GetFiles("*." + File.NoteFileExtension);

            return(FileHelpers.ConvertFileInfos <Note>(files));
        }
Пример #2
0
        public List <Notebook> GetNotebookFromDisc()
        {
            var files = _dataFolder.GetFiles("*." + File.NotebookFileExtension, SearchOption.AllDirectories);

            return(FileHelpers.ConvertFileInfos <Notebook>(files));
        }