コード例 #1
0
            public override ILongEnumerator GetEnumerator()
            {
                ILongEnumerator enumerator = null;

                rwLock.AcquireReaderLock(timeout);

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

                return(enumerator);
            }
コード例 #2
0
 public override ILongEnumerator GetEnumerator()
 {
     return(m_collection.GetEnumerator());
 }