示例#1
0
 public bool Remove(AmqpConnection item)
 {
     if (BaseIndexOf(item) >= 0)
     {
         BaseRemove(item);
         return(true);
     }
     return(false);
 }
示例#2
0
 public void Add(AmqpConnection item)
 {
     BaseAdd(item);
 }
示例#3
0
 public int IndexOf(AmqpConnection service)
 {
     return(BaseIndexOf(service));
 }
示例#4
0
 /// <summary>
 /// Gets the key by which connection elements are mapped in the base class.
 /// </summary>
 /// <param name="service">The named service element to get the key from.</param>
 /// <returns>The key.</returns>
 private static string GetKey(AmqpConnection service)
 {
     return(service.Name);
 }
示例#5
0
 public bool Contains(AmqpConnection item)
 {
     return(BaseIndexOf(item) >= 0);
 }