I have constructor
Foo(IColor c , int someNumber)
and I know the some number only during the run time, and I want to call this constructor during the resolving and to pass someNumber value and the IColor to be resolved autocratically.
Something like this:
container.Resolve<IFoo>(someNumber);
Is it possible to be done ?