Exemple #1
0
 /// <summary>
 /// Returns an enumerator that iterates through cache items.
 /// </summary>
 /// <returns>
 /// An <b>IEnumerator</b> object that can be used to iterate through
 /// cache items.
 /// </returns>
 public virtual ICacheEnumerator GetEnumerator()
 {
     return(NamedCache.GetEnumerator());
 }
Exemple #2
0
 /// <summary>
 /// Returns an enumerator that iterates through a collection.
 /// </summary>
 /// <returns>
 /// An <b>IEnumerator</b> object that can be used to iterate through
 /// the collection.
 /// </returns>
 ICacheEnumerator ICache.GetEnumerator()
 {
     return(NamedCache.GetEnumerator());
 }