Esempio n. 1
0
 public void AddHandler(Pop3MessageHandlerInfo handlerInfo)
 {
     if (handlerInfo != null)
     {
         _handlers.Add(handlerInfo);
     }
 }
Esempio n. 2
0
        /// <summary>
        /// Removes the specified name.
        /// </summary>
        /// <param name="name">The name.</param>
        public void Remove(string name)
        {
            Pop3MessageHandlerInfo info = this[name];

            if (info != null)
            {
                this.Remove(info);
            }
        }
Esempio n. 3
0
 /// <summary>
 /// Adds the specified info.
 /// </summary>
 /// <param name="info">The info.</param>
 public int Add(Pop3MessageHandlerInfo info)
 {
     return this.List.Add(info);
 }
Esempio n. 4
0
 /// <summary>
 /// Removes the specified info.
 /// </summary>
 /// <param name="info">The info.</param>
 public void Remove(Pop3MessageHandlerInfo info)
 {
     this.List.Remove(info);
 }
Esempio n. 5
0
 /// <summary>
 /// Indexes the of.
 /// </summary>
 /// <param name="info">The info.</param>
 /// <returns></returns>
 public int IndexOf(Pop3MessageHandlerInfo info)
 {
     return this.List.IndexOf(info);
 }
Esempio n. 6
0
 /// <summary>
 /// Indexes the of.
 /// </summary>
 /// <param name="info">The info.</param>
 /// <returns></returns>
 public int IndexOf(Pop3MessageHandlerInfo info)
 {
     return(this.List.IndexOf(info));
 }
Esempio n. 7
0
 /// <summary>
 /// Removes the specified info.
 /// </summary>
 /// <param name="info">The info.</param>
 public void Remove(Pop3MessageHandlerInfo info)
 {
     this.List.Remove(info);
 }
Esempio n. 8
0
 /// <summary>
 /// Adds the specified info.
 /// </summary>
 /// <param name="info">The info.</param>
 public int Add(Pop3MessageHandlerInfo info)
 {
     return(this.List.Add(info));
 }
Esempio n. 9
0
 public void AddHandler(Pop3MessageHandlerInfo handlerInfo)
 {
     if (handlerInfo != null)
         _handlers.Add(handlerInfo);
 }