示例#1
0
            public override int IndexOf(float x)
            {
                int result = 0;

                rwLock.AcquireReaderLock(timeout);

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

                return(result);
            }
示例#2
0
 public override int IndexOf(float x)
 {
     return(m_collection.IndexOf(x));
 }