/// <summary> /// Reserved for internal use. /// </summary> internal LayoutEntity AddChildEntity(LayoutEnumerator it) { LayoutEntity child = CreateLayoutEntityFromType(it); mChildEntities.Add(child); return(child); }
private void ProcessLayoutElements(LayoutEntity current) { do { LayoutEntity child = current.AddChildEntity(mEnumerator); if (mEnumerator.MoveFirstChild()) { current = child; ProcessLayoutElements(current); mEnumerator.MoveParent(); current = current.Parent; } } while (mEnumerator.MoveNext()); }