The objective is to avoid having to declare the same constructor arguments multiple times when configuring a kernel in the following manner:
Kernel.Bind<ISomeService>().To<SomeService>()
.WithConstructorArgument("arg", "value");
Kernel.Bind<SomeService>.ToSelf()
.WithConstructorArgument("arg", "value");
tried with:
Kernel.Bind<ISomeService>().To<SomeService>();
Kernel.Bind<SomeService>().ToSelf().WithConstructorArgument("arg", "value");
Hoping that the "bind chain" will be taken into account, but nope.