示例#1
0
        private void Init()
        {
            SystemTime.SetClock(() => new DateTime(2021, 01, 01));

            _course = new Course(".NET Core Programming", new DateTime(2021, 01, 18), 100);
            _course.SetTeacher(new Teacher("Carlos", "Osoria", ".NET Framework Stack"));
            _course.SetTeacherAssistant(new TeacherAssistant("Damian", "Jais", ".NET Framework Stack"));

            RegisterStudents();
            CreateClasses();

            SystemTime.ResetClock();
        }