private static void AddEntries([NotNull] List <DataDefinition> linkage, DataDefinition node) { linkage.Add(node); foreach (var child in node.Children()) { AddEntries(linkage, child); } }
private void AddEntries(List<DataDefinition> linkage, DataDefinition node) { linkage.Add(node); foreach(var child in node.Children()) AddEntries(linkage, child); }