public override bool Contains(PaymentItem x) { bool result = false; rwLock.AcquireReaderLock(timeout); try { result = collection.Contains(x); } finally { rwLock.ReleaseReaderLock(); } return(result); }
public override bool Contains(PaymentItem x) { return(m_collection.Contains(x)); }