Пример #1
0
            public override int IndexOf(PaymentItem x)
            {
                int result = 0;

                rwLock.AcquireReaderLock(timeout);

                try
                {
                    result = collection.IndexOf(x);
                }
                finally
                {
                    rwLock.ReleaseReaderLock();
                }

                return(result);
            }
Пример #2
0
 public override int IndexOf(PaymentItem x)
 {
     return(m_collection.IndexOf(x));
 }