This project is read-only.

constructor parameter

May 24, 2013 at 1:47 PM
Edited May 24, 2013 at 1:49 PM
In application startup I get command parameters and I need to pass them on. right now I am doing this with Ninject:

kernel.Bind<IPropertiesRepository>().To<PropertiesRepositoryFake>().InSingletonScope().WithConstructorArgument("userInit", userInit);

How can I do the same in SimpleInjector? I have read this but I don't get it (-:
May 24, 2013 at 2:04 PM
Marked as answer by dot_NET_Junkie on 2/26/2014 at 1:34 PM
May 24, 2013 at 9:59 PM
Thank's for the quick response and for the excellent framework and documentation.
I think that the documentation is very very importing for any framework and especially for Ioc beginners like me.

The second link solved my problem.