static void Main(string[] args) { Moodle moodle = new Moodle(); Teacher ogretmen = new Teacher(moodle); moodle.teacher = ogretmen; moodle.students = new List <Student>(); Student ogrenci1 = new Student(moodle); Student ogrenci2 = new Student(moodle); moodle.students.Add(ogrenci1); moodle.students.Add(ogrenci2); ogretmen.SlaytGonder("Tasarım Desenleri"); ogretmen.SoruGonder("Mediator Pattern Soru"); Console.ReadLine(); }
public Student(Moodle moodle) : base(moodle) { }
public Teacher(Moodle moodle) : base(moodle) { }
public CourseMember(Moodle moodle) { _moodle = moodle; }