Example #1
0
		public ApplicationAssembly[] GetLoadedAssemblies()
		{
			ArrayList AssemblyList=new ArrayList();
			foreach (Assembly a in AppDomain.CurrentDomain.GetAssemblies())
			{
				// ApplicationAssembly assembly=new ApplicationAssembly(a,this);
				Mono.AppServer.ApplicationAssembly assembly=new ApplicationAssembly(a);
				AssemblyList.Add(assembly);
			}
			return (ApplicationAssembly[]) AssemblyList.ToArray(typeof(ApplicationAssembly));
		}
Example #2
0
        public ApplicationAssembly[] GetLoadedAssemblies()
        {
            ArrayList AssemblyList = new ArrayList();

            foreach (Assembly a in AppDomain.GetAssemblies())
            {
                // ApplicationAssembly assembly=new ApplicationAssembly(a,this);
                ApplicationAssembly assembly = new ApplicationAssembly(a);
                AssemblyList.Add(assembly);
            }
            return((ApplicationAssembly[])AssemblyList.ToArray(typeof(ApplicationAssembly)));
        }