Esempio n. 1
0
 public Career(string name, string description,ISubjectRepository subjectRepository)
 {
     this.name = name;
     this.description = description;
     skills = new List<ISkill>();
     ISubjectRepository clone = new SubjectRepository();
     subjectRepository.CloneRepositoryTo(clone);
     studyPlan = new StudyPlan(clone);
 }
Esempio n. 2
0
        public Career(string name, string description, ISubjectRepository subjectRepository)
        {
            this.name        = name;
            this.description = description;
            skills           = new List <ISkill>();
            ISubjectRepository clone = new SubjectRepository();

            subjectRepository.CloneRepositoryTo(clone);
            studyPlan = new StudyPlan(clone);
        }