Esempio n. 1
0
            public override int IndexOf(float x)
            {
                int result = 0;

                rwLock.AcquireReaderLock(timeout);

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

                return(result);
            }
Esempio n. 2
0
 public override int IndexOf(float x)
 {
     return(m_collection.IndexOf(x));
 }