Example #1
0
            public override IPreviousPaymentCollectionEnumerator GetEnumerator()
            {
                IPreviousPaymentCollectionEnumerator enumerator = null;

                rwLock.AcquireReaderLock(timeout);

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

                return(enumerator);
            }
Example #2
0
 public override IPreviousPaymentCollectionEnumerator GetEnumerator()
 {
     return(m_collection.GetEnumerator());
 }