I have a class that takes three constructor arguments. In my composition root I want to define/override only one of the three constructor arguments; the oth
Try this:
services.AddTransient(); services.AddTransient(); services.AddTransient(provider=> return new MyClass("constructor argument value", provider.GetService(), provider.GetService()); );