public void Assign(ContactItemViewModel contact)
 {
     this.Name.Assign(contact.Name);
     this.Photo = contact.Photo;
     this.Address.Assign(contact.Address);
     this.Email     = contact.Email;
     this.Phone     = contact.Phone;
     this.BirthDate = contact.BirthDate;
     this.Prefix    = contact.Prefix;
     this.Notes     = contact.Notes;
 }
Ejemplo n.º 2
0
 public static ContactEditViewModel Create(ContactItemViewModel contact, IList <string> cities, IList <string> states)
 {
     return(ViewModelSource.Create(() => new ContactEditViewModel(contact, cities, states)));
 }
Ejemplo n.º 3
0
 protected ContactEditViewModel(ContactItemViewModel contact, IList <string> cities, IList <string> states)
 {
     this.Contact = contact;
     this.Cities  = cities;
     this.States  = states;
 }