public bool Contains(Type type) { return(FactoryMap.Contains(type) || InstanceMap.Contains(type) || TypeMap.Contains(type)); }