internal static IEnumerable<Nodes.Base> ComposeAll(ILoader loader, bool dispose) { while (loader.CheckNode()) yield return loader.GetNode(); if (dispose) loader.Dispose(); }