Esempio n. 1
0
            public override bool Contains(Int64 x)
            {
                bool result = false;

                rwLock.AcquireReaderLock(timeout);

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

                return(result);
            }
Esempio n. 2
0
 public override bool Contains(Int64 x)
 {
     return(m_collection.Contains(x));
 }