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