Пример #1
0
 public bool Remove(EmailRecipientElement item)
 {
     if (BaseIndexOf(item) >= 0)
     {
         BaseRemove(item);
         return(true);
     }
     return(false);
 }
Пример #2
0
 public bool Contains(EmailRecipientElement item)
 {
     return(BaseIndexOf(item) >= 0);
 }
Пример #3
0
 public int IndexOf(EmailRecipientElement address)
 {
     return(BaseIndexOf(address));
 }
Пример #4
0
 public void Add(EmailRecipientElement item)
 {
     BaseAdd(item);
 }
Пример #5
0
 /// <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);
 }