Пример #1
0
        //=====================================================================

        /// <inheritdoc />
        public override IEnumerator <KeyValuePair <string, Target> > GetEnumerator()
        {
            return(index.GetEnumerator());
        }
Пример #2
0
 /// <summary>
 /// Creates an enumerator that can be used to iterate through a collection of cache entries.
 /// </summary>
 /// <returns>
 /// The enumerator object that provides access to the cache entries in the cache.
 /// </returns>
 /// <remarks>CFI, 2012-03-10</remarks>
 protected override IEnumerator <KeyValuePair <string, object> > GetEnumerator()
 {
     CleanExpired();
     return(values.GetEnumerator() as IEnumerator <KeyValuePair <string, object> >);
 }