public MyClient(SomeService.Factory serviceFactory) { // Resolve ISomeService using factory method // passing runtime parameters _myService = serviceFactory("this", "that"); }
public MyClient(SomeService.Factory serviceFactory) { _myService = serviceFactory("this", "that"); }