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