public List <Type> GetAllRegisteredTypesMatching(Type type) { var types = new List <Type>(); types.AddRange(FactoryMap.GetRegisteredTypesMatching(type)); types.AddRange(InstanceMap.GetRegisteredTypesMatching(type)); types.AddRange(TypeMap.GetRegisteredTypesMatching(type)); return(types); }
public bool Contains(Type type) { return(FactoryMap.Contains(type) || InstanceMap.Contains(type) || TypeMap.Contains(type)); }