public void LoadSampleLesson()
    {
        // Load sample lesson
        var sampleLessonText = TutorialEngine.Lessons.LessonLoader.LoadSampleLesson();
        var parser           = new TutorialEngine.LessonParser();
        var sampleLesson     = parser.ParseLesson(sampleLessonText);

        _tutorialController.LoadLesson(sampleLesson);
    }
Пример #2
0
        public static void Main(string[] args)
        {
            var document = Lessons.LessonLoader.LoadSampleLesson();

            var parser = new LessonParser();
            var lesson = parser.ParseLesson(document);

            var lessonStr = lesson.ToString();
        }