public IEnumerable <object> GenerateParameterValues(IConstructor constructor, IConstructorInstanceCreator instanceCreator)
 {
     foreach (IParameter parameter in constructor.Parameters)
     {
         yield return(instanceCreator.CreateInstance(parameter.Type));
     }
 }
 public InstancesCreator(IConstructorInstanceCreator ctorInstanceCreator)
 {
     CtorInstanceCreator = ctorInstanceCreator;
 }