Exemple #1
0
        private Collection <string> GetAssemblies()
        {
            CollectReferencedAssembliesVisitor v = new CollectReferencedAssembliesVisitor();

            Visit(v);
            Collection <string> ret = new Collection <string>();

            foreach (string t in v.GetAssemblies())
            {
                ret.Add(t);
            }
            return(ret);
        }
Exemple #2
0
        private Collection <string> GetNameSpaces()
        {
            CollectReferencedAssembliesVisitor v = new CollectReferencedAssembliesVisitor();

            this.Visit(v);
            Collection <string> ret = new Collection <string>();

            foreach (string t in v.GetDeclaringTypes())
            {
                ret.Add(t);
            }
            return(ret);
        }
Exemple #3
0
 private Collection<string> GetAssemblies()
 {
     CollectReferencedAssembliesVisitor v = new CollectReferencedAssembliesVisitor();
     this.Visit(v);
     Collection<string> ret = new Collection<string>();
     foreach (string t in v.GetAssemblies())
         ret.Add(t);
     return ret;
 }