Esempio n. 1
0
            public override IPreviousPaymentCollectionEnumerator GetEnumerator()
            {
                IPreviousPaymentCollectionEnumerator enumerator = null;

                rwLock.AcquireReaderLock(timeout);

                try
                {
                    enumerator = collection.GetEnumerator();
                }
                finally
                {
                    rwLock.ReleaseReaderLock();
                }

                return(enumerator);
            }
Esempio n. 2
0
 public override IPreviousPaymentCollectionEnumerator GetEnumerator()
 {
     return(m_collection.GetEnumerator());
 }