Exemplo n.º 1
0
        public int IndexOf(ProviderID providerID)
        {
            for (int i = 0; i < Count; i++)
            {
                if (this[i] == providerID)
                {
                    return(i);
                }
            }

            return(-1);
        }
Exemplo n.º 2
0
 public bool Contains(ProviderID providerID)
 {
     return(IndexOf(providerID) >= 0);
 }