Beispiel #1
0
 // -------------------------------------------------------------------
 /// Collect the used assemblies
 void CollectUsedNamespaces()
 {
     VSObject.ForEachChildRecursiveDepthFirst(
         c => {
         if (c.IsKindOfFunction)
         {
             var runtimeType = c.RuntimeType;
             if (runtimeType != null)
             {
                 AddNamespace(runtimeType.Namespace);
             }
         }
     }
         );
 }