예제 #1
0
 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;
     }
 }
예제 #2
0
 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;
     }
 }