Exemplo n.º 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( );
        }
Exemplo n.º 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( );
        }
Exemplo n.º 3
0
 /// <summary>
 /// Get an enumerator over <see cref="InnerCache"/>.
 /// </summary>
 /// <returns>
 /// The enumerator.
 /// </returns>
 IEnumerator IEnumerable.GetEnumerator()
 {
     return(InnerCache.GetEnumerator());
 }
Exemplo n.º 4
0
 /// <summary>
 /// Get an enumerator over <see cref="InnerCache"/>.
 /// </summary>
 /// <returns>
 /// The enumerator.
 /// </returns>
 public IEnumerator <KeyValuePair <TKey, TValue> > GetEnumerator()
 {
     return(InnerCache.GetEnumerator());
 }