Exemplo n.º 1
0
 public AssemblyBundle(IList assemblyList)
 {
     this.assemblies = new ArrayList();
     IEnumerator iAssemblies = assemblyList.GetEnumerator();
     while (iAssemblies.MoveNext()) {
         AssemblyDefinition dfn = AssemblyFactory.GetAssembly((String)iAssemblies.Current);
         IAssembly assembly = new CompleteAssembly(dfn);
         //Console.WriteLine("ASSEMBLY: " + assembly.getAssemblyName() + "  " + dfn.GetType());
         this.assemblies.Add(assembly);
     }
     this.buildRelationships();
 }
    public AssemblyBundle(IList assemblyList)
    {
        this.assemblies = new ArrayList();
        IEnumerator iAssemblies = assemblyList.GetEnumerator();

        while (iAssemblies.MoveNext())
        {
            AssemblyDefinition dfn      = AssemblyFactory.GetAssembly((String)iAssemblies.Current);
            IAssembly          assembly = new CompleteAssembly(dfn);
            //Console.WriteLine("ASSEMBLY: " + assembly.getAssemblyName() + "  " + dfn.GetType());
            this.assemblies.Add(assembly);
        }
        this.buildRelationships();
    }