示例#1
0
            public override bool Contains(PaymentItem x)
            {
                bool result = false;

                rwLock.AcquireReaderLock(timeout);

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

                return(result);
            }
示例#2
0
 public override bool Contains(PaymentItem x)
 {
     return(m_collection.Contains(x));
 }