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