Esempio n. 1
0
        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);
        }
Esempio n. 2
0
 public bool Contains(Type type)
 {
     return(FactoryMap.Contains(type) || InstanceMap.Contains(type) || TypeMap.Contains(type));
 }