/// <summary> /// Returns an enumerator that iterates through the collection of validation rules. /// </summary> /// <returns> /// A <see cref="T:System.Collections.Generic.IEnumerator`1"/> that can be used to iterate through the collection. /// </returns> /// <filterpriority>1</filterpriority> public IEnumerator <IValidationRule> GetEnumerator() { return(nestedValidators.GetEnumerator()); }