Server.Commands.Categorization.AddTypes C# (CSharp) Méthode

AddTypes() private static méthode

private static AddTypes ( Assembly asm, ArrayList types ) : void
asm System.Reflection.Assembly
types System.Collections.ArrayList
Résultat void
		private static void AddTypes( Assembly asm, ArrayList types )
		{
			Type[] allTypes = asm.GetTypes();

			for ( int i = 0; i < allTypes.Length; ++i )
			{
				Type type = allTypes[i];

				if ( type.IsAbstract )
					continue;

				if ( IsConstructable( type ) )
					types.Add( type );
			}
		}