Пример #1
0
 public static PersonSummary FromPerson(Person person)
 {
     return person == null
         ? null
         : new PersonSummary(person);
 }
Пример #2
0
 public PersonSummary(Person person)
 {
     _person = person;
 }