protected virtual Generic.IEnumerator<Node> Process(Generic.IEnumerator<Node> nodes) { while (nodes.MoveNext()) { Generic.IEnumerator<Node> result = this.Process(nodes.Current); while (result.MoveNext()) yield return result.Current; } }
protected virtual Generic.IEnumerator<Attribute> Process(Generic.IEnumerator<Attribute> attributes) { while (attributes.MoveNext()) { Generic.IEnumerator<Attribute> result = this.Process(attributes.Current); while (result.MoveNext()) if (result.Current.NotNull()) yield return result.Current; } }