public CommandFactory(ISchoolRegister register, ISchoolSystemFactory factory) { this.register = register; this.factory = factory; }
public Teacher(string firstName, string lastName, Subject subject, ISchoolSystemFactory schoolFactory) : base(firstName, lastName) { this.schoolFactory = schoolFactory; this.Subject = subject; }
public CreateStudentCommand(ISchoolSystemFactory schoolFactory, ISchoolRegister schoolRegister) { this.schoolFactory = schoolFactory; this.schoolRegister = schoolRegister; }