public bool Remove(EmailRecipientElement item) { if (BaseIndexOf(item) >= 0) { BaseRemove(item); return(true); } return(false); }
public bool Contains(EmailRecipientElement item) { return(BaseIndexOf(item) >= 0); }
public int IndexOf(EmailRecipientElement address) { return(BaseIndexOf(address)); }
public void Add(EmailRecipientElement item) { BaseAdd(item); }
/// <summary> /// Gets the key by which named service elements are mapped in the base class. /// </summary> /// <param name="recipient">The named service element to get the key from.</param> /// <returns>The key.</returns> private static string GetKey(EmailRecipientElement recipient) { return(recipient.Address); }