Пример #1
0
 /// <summary>
 /// Returns an enumerator that iterates through a collection.
 /// </summary>
 /// <returns>An <see cref="IEnumerator"/> object that can be used to iterate through the collection.</returns>
 IEnumerator IEnumerable.GetEnumerator()
 {
     return(InstancesList.GetEnumerator());
 }
Пример #2
0
 /// <summary>
 /// Returns an enumerator that iterates through the list.
 /// </summary>
 /// <returns>An <see cref="IEnumerator"/> for the list.</returns>
 public IEnumerator <MySqlInstance> GetEnumerator()
 {
     return(InstancesList.GetEnumerator());
 }