public Projection(Observable<string> prefix, Contact contact)
            {
                _prefix = prefix;
                _contact = contact;

                _name = new Computed<string>(() =>
                    prefix.Value + _contact.FirstName + _contact.LastName);
            }
Beispiel #2
0
 public void AddContact(Contact contact)
 {
     _contacts.Add(contact);
 }
Beispiel #3
0
 public void DeleteContact(Contact contact)
 {
     _contacts.Remove(contact);
 }
 public ContactViewModel(Contact contact)
 {
     _contact = contact;
 }