internal IEnumerator <XElement> FSMGetEnumerator() { IEnumerator <XElement> enumerator = container.Untyped.Elements().GetEnumerator(); XElement elem = null; container.StartFsm(); do { elem = container.ExecuteFSMSubGroup(enumerator, namesInList); if (elem != null) { yield return(elem); } else { yield break; } } while (elem != null); }
private IEnumerator <XElement> FSMGetEnumerator() { IEnumerator <XElement> enumerator = containerElement.Elements().GetEnumerator(); XElement elem = null; container.StartFsm(); do { elem = container.ExecuteFSM(enumerator, itemXName, null); if (elem != null) { yield return(elem); } else { yield break; } } while (elem != null); }