/// <summary> /// Inserts a new mailbox into the collection at the specified location. /// </summary> /// <param name="index">The location in the collection where you want to add the mailbox.</param> /// <param name="mailbox">Mailbox to add.</param> public void Insert(int index, MailboxAddress mailbox) { m_pMailboxes.Insert(index, mailbox); OnCollectionChanged(); }
/// <summary> /// Removes specified mailbox from the collection. /// </summary> /// <param name="mailbox">Mailbox to remove.</param> public void Remove(MailboxAddress mailbox) { m_pMailboxes.Remove(mailbox); OnCollectionChanged(); }
/// <summary> /// Adds a new mailbox to the end of the collection. /// </summary> /// <param name="mailbox">Mailbox to add.</param> public void Add(MailboxAddress mailbox) { m_pMailboxes.Add(mailbox); OnCollectionChanged(); }