public DisplayMethodViewModel(Person person, DisplayMethod displayAs) { _person = person; _displayAs = displayAs; _person.PropertyChanged += new PropertyChangedEventHandler(PersonPropertyChanged); }
public Person NewPerson() { Person person = new Person(); _people.Add(person); return person; }
public void DeletePerson(Person person) { _people.Remove(person); }
public PersonSummaryViewModel(Person person) { _person = person; _person.PropertyChanged += PersonPropertyChanged; }
public PersonDetailViewModel(Person person) { _person = person; }