예제 #1
0
파일: Unit.cs 프로젝트: PhonkX/uLearn
        public void LoadInstructorNote()
        {
            var instructorNoteFile = Directory.GetFile("InstructorNotes.md");

            if (instructorNoteFile.Exists)
            {
                InstructorNote = InstructorNote.Load(instructorNoteFile, this);
            }
        }
예제 #2
0
파일: Unit.cs 프로젝트: DerArvend/Ulearn
        public void LoadInstructorNote(CourseLoadingContext context, int slideIndex)
        {
            var instructorNoteFile = Directory.GetFile("InstructorNotes.md");

            if (instructorNoteFile.Exists)
            {
                InstructorNote = InstructorNote.Load(context, instructorNoteFile, this, slideIndex);
            }
        }