private protected static IEnumerable <ArchNode> GetDescendantNodes(NamespaceArchNode node) { return(node.Groups.SelectMany(i => GetDescendantNodes(i).Prepend(i))); }
private protected static string GetName(NamespaceArchNode node) { return(node.GetType().Name.WithoutPrefix("Namespace_").Replace('_', '.')); }