Exemple #1
0
		public static ArrayList BuildExtensionList (TypeElementCollection exts)
		{
			ArrayList extensionTypes = new ArrayList ();
			
			if (exts != null)
			{
				foreach (TypeElement econf in exts)
				{
					extensionTypes.Add (econf);
				}
			}

			ArrayList extensions = new ArrayList (extensionTypes.Count);
			foreach (TypeElement econf in extensionTypes)
				extensions.Add (Activator.CreateInstance (econf.Type));
				
			return extensions;
		}
		public static ArrayList BuildExtensionList (TypeElementCollection exts)