public MockEmptyConversation(string phoneNumberValue)
        {
            AssociatedContacts = new ContactList();

            Contact contact = new Contact(Contact.UnknownContactId, null, null, null, new PhoneNumber(phoneNumberValue));

            AssociatedContacts.Add(contact);
        }
        public MockEmptyConversation(string firstName, string middleName, string lastName, string phoneNumberValue)
        {
            PhoneNumber phoneNumber = new PhoneNumber(phoneNumberValue);

            AssociatedContacts = new ContactList();
            Contact contact = new MockContact(firstName, middleName, lastName, phoneNumber);

            AssociatedContacts.Add(contact);
        }
 public MockEmptyConversation(IEnumerable<IContact> contacts)
 {
     AssociatedContacts = new ContactList(contacts);
 }
Example #4
0
 public ChatConversation(IEnumerable<IContact> assocaiatedContacts)
 {
     AssociatedContacts = new ContactList(assocaiatedContacts);
     AssociatedContacts.Sort(ContactComparer.CompareAlphabetically);
 }