public List <Type> GetAllTypes()
 {
     return(_typeResolver.GetAllTypes());
 }