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

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