public void BuildUp <T>(T instance) where T : class
 {
     foreach (var property in InjectablePropertiesFinder.GetInjectableProperties(instance))
     {
         if (property.GetValue(instance) == null)
         {
             this.InjectProperty(instance, property.GetSetMethod(), new Type[0]);
         }
     }
 }
        public T Resolve <T>() where T : class
        {
            T instance = GetInstance <T>(typeof(T), new Type[0]);

            foreach (var property in InjectablePropertiesFinder.GetInjectableProperties(instance))
            {
                this.InjectProperty(instance, property.GetSetMethod(), new Type[0]);
            }
            return(instance);
        }