-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Description
I was wondering what your thoughts would be in having a "fluent" or "builder" type api for the Test host:
var host = new TestHost()
.AddService<Service1>()
.AddService<Service2>()
.AddComponent<MyComponent>();
vs current:
var host = new TestHost();
host.AddService<Service1>();
host.AddService<Service2>();
host.AddComponent<MyComponent>();
Would make it look a lot nicer with multiple services, in essence we're using the AddComponent method as what is more generally called Build
conficient
Metadata
Metadata
Assignees
Labels
No labels