示例#1
0
        /// <summary>
        ///     Returns an enumerator that iterates through a collection.
        /// </summary>
        /// <returns>
        ///     An <see cref="T:System.Collections.IEnumerator" /> object that can be used to iterate through the collection.
        /// </returns>
        IEnumerator IEnumerable.GetEnumerator( )
        {
            if (InnerCache != null)
            {
                return(InnerCache.GetEnumerator( ));
            }

            throw new NotImplementedException( );
        }
示例#2
0
        /// <summary>
        ///     Returns an enumerator that iterates through the collection.
        /// </summary>
        /// <returns>
        ///     A <see cref="T:System.Collections.Generic.IEnumerator`1" /> that can be used to iterate through the collection.
        /// </returns>
        public IEnumerator <KeyValuePair <TKey, TValue> > GetEnumerator( )
        {
            if (InnerCache != null)
            {
                return(InnerCache.GetEnumerator( ));
            }

            throw new NotImplementedException( );
        }
示例#3
0
 /// <summary>
 /// Get an enumerator over <see cref="InnerCache"/>.
 /// </summary>
 /// <returns>
 /// The enumerator.
 /// </returns>
 IEnumerator IEnumerable.GetEnumerator()
 {
     return(InnerCache.GetEnumerator());
 }
示例#4
0
 /// <summary>
 /// Get an enumerator over <see cref="InnerCache"/>.
 /// </summary>
 /// <returns>
 /// The enumerator.
 /// </returns>
 public IEnumerator <KeyValuePair <TKey, TValue> > GetEnumerator()
 {
     return(InnerCache.GetEnumerator());
 }