Ejemplo n.º 1
0
 public CommandFactory(ISchoolRegister register, ISchoolSystemFactory factory)
 {
     this.register = register;
     this.factory  = factory;
 }
Ejemplo n.º 2
0
 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;
 }