public void Add(Type type) { Assembly assembly = type.Assembly; List types = (List)_assemblies[assembly]; if (null == types) { types = new List(); _assemblies[assembly] = types; } types.Add(type); if (_typeSystemServices.IsModule(type)) { _externalModules.Add(_typeSystemServices.Map(type)); } }