public void AddAssembly(Assembly assembly) { Type[] types = assembly.GetExportedTypes(); foreach (Type type in types) { if (type.FullName.IndexOf('+') != -1) { // For now we ignore Nested Types continue; } String ns = type.Namespace; INamespace container = GetNamespace(ns); container.AddType(type); } }