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

Fill() private static méthode

private static Fill ( CategoryEntry root, ArrayList list ) : void
root CategoryEntry
list System.Collections.ArrayList
Résultat void
		private static void Fill( CategoryEntry root, ArrayList list )
		{
			for ( int i = 0; i < list.Count; ++i )
			{
				Type type = (Type)list[i];
				CategoryEntry match = GetDeepestMatch( root, type );

				if ( match == null )
					continue;

				try
				{
					match.Matched.Add( new CategoryTypeEntry( type ) );
				}
				catch
				{
				}
			}
		}