Пример #1
0
 /// <summary>
 /// Returns an enumerator that iterates through the collection.
 /// </summary>
 /// <returns>
 /// A <see cref="IEnumerator{T}"/> that can be used to iterate through the collection.
 /// </returns>
 /// <filterpriority>1</filterpriority>
 public IEnumerator <T> GetEnumerator()
 {
     return(m_lookupTable.GetKeys().GetEnumerator());
 }
Пример #2
0
 /// <summary>
 /// Gets an enumerable used to iterate only the keys in the dictionary.
 /// </summary>
 /// <returns>An enumerable used to iterate only the keys in the dictionary.</returns>
 public IEnumerable <TKey> GetKeys()
 {
     return(m_lookupTable.GetKeys());
 }