internal static void RegisterTypes (ArrayList types)
{
foreach (TypeEntry type in types)
{
if (type is ActivatedClientTypeEntry)
RegisterActivatedClientType ((ActivatedClientTypeEntry)type);
else if (type is ActivatedServiceTypeEntry)
RegisterActivatedServiceType ((ActivatedServiceTypeEntry)type);
else if (type is WellKnownClientTypeEntry)
RegisterWellKnownClientType ((WellKnownClientTypeEntry)type);
else if (type is WellKnownServiceTypeEntry)
RegisterWellKnownServiceType ((WellKnownServiceTypeEntry)type);
}
}