Пример #1
0
 public virtual void VisitNamespace(NamespaceDeclaration namespaceDeclaration)
 {
     VisitCollection(namespaceDeclaration.Namespaces);
     VisitCollection(namespaceDeclaration.Types);
     VisitCollection(namespaceDeclaration.Usings);
 }
Пример #2
0
 public static NamespaceDeclaration AddNamespace(this INamespaceDeclarationContainer unit, NamespaceDeclaration ns)
 {
     unit.Namespaces.Add(ns);
     return(ns);
 }