I have a class with constructor like this:
public class Bar { public Bar(IFoo foo, IFoo2 foo2, IFoo3 foo3, IFooN fooN, String text) { } }
public void Register(params object[] constructorParams) where TFrom : class { _container.RegisterType(new InjectionConstructor(constructorParams)); }