Skip to content

Add a sample for adding and configuring DI services together#18429

Merged
Rick-Anderson merged 3 commits intodotnet:masterfrom
serpent5:serpent5/18292
May 21, 2020
Merged

Add a sample for adding and configuring DI services together#18429
Rick-Anderson merged 3 commits intodotnet:masterfrom
serpent5:serpent5/18292

Conversation

@serpent5
Copy link
Copy Markdown
Contributor

@serpent5 serpent5 commented May 21, 2020

Fixes #18292.

cc @Rick-Anderson

This demonstrates the pattern that's used all over the framework, with error-handling, etc, dropped for simplicity. I'm open to ideas for a better context, rather than just using MyService and MyValue.

@Rick-Anderson Rick-Anderson marked this pull request as ready for review May 21, 2020 21:33
@Rick-Anderson
Copy link
Copy Markdown
Contributor

Looks great. I'll test this and maybe make some changes when I integrate it with the doc.

@Rick-Anderson Rick-Anderson merged commit ec41387 into dotnet:master May 21, 2020
@serpent5 serpent5 deleted the serpent5/18292 branch May 21, 2020 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add DI options sample

2 participants