Exemplo n.º 1
0
 public PersonContract(Person person, PersonRank lastRank)
 {
     FillProperties(person);
 }
Exemplo n.º 2
0
 public PersonContract(Person person)
 {
     FillProperties(person);
 }
Exemplo n.º 3
0
 private void FillProperties(Person person)
 {
     this.ID = person.ID;
     this.FIO = person.FIO;
     this.BirthdayDate = person.BirthdayDate;
     this.BirthdayInfo = person.BirthdayInfo;
     this.Education = person.Education;
     this.YearStart = person.YearStart;
     this.Address = person.Address;
     this.Family = person.Family;
     this.JobFamily = person.JobFamily;
     this.CommunityInfo = person.CommunityInfo;
     this.Sport = person.Sport;
     this.War = person.War;
     this.Presents = person.Presents;
     this.Hobby = person.Hobby;
     this.ReflectionInJob = person.ReflectionInJob;
     this.ReflectionInFamily = person.ReflectionInFamily;
 }