コード例 #1
0
            public override int IndexOf(DateTime x)
            {
                int result = 0;

                rwLock.AcquireReaderLock(timeout);

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

                return(result);
            }
コード例 #2
0
 public override int IndexOf(DateTime x)
 {
     return(m_collection.IndexOf(x));
 }