/// <summary>Returns an enumerator that iterates through the children in this property.</summary> /// <returns>A <see cref="T:System.Collections.Generic.IEnumerator`1" /> that can be used to iterate through the children /// in this property.</returns> public virtual IEnumerator <WZObject> GetEnumerator() { return(_canContainChildren ? _backing.GetEnumerator() : Enumerable.Empty <WZObject>().GetEnumerator()); }