Say I have the following class
MyComponent : IMyComponent { public MyComponent(int start_at) {...} }
I can register an instance of it wit
Try this
int start_at = 1; container.Register(Component.For().DependsOn(dependency: Dependency.OnValue(start_at)));