Skip to content

Commit 8939fbd

Browse files
Update dependency-injection.md (#33563)
* Update dependency-injection.md * Update aspnetcore/fundamentals/dependency-injection.md Co-authored-by: Tom Dykstra <[email protected]> --------- Co-authored-by: Tom Dykstra <[email protected]>
1 parent 2e5e099 commit 8939fbd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

aspnetcore/fundamentals/dependency-injection.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,9 @@ public class MyService
150150

151151
:::code language="csharp" source="~/../AspNetCore.Docs.Samples/samples/KeyedServices9/Program.cs" highlight="6,7,12-14,39,47" id="snippet_1":::
152152

153-
#### Keyed DI in Middleware
153+
#### Keyed services in Middleware
154154

155-
Middleware supports Keyed DI in both the constructor and the `Invoke`/`InvokeAsync` method:
155+
Middleware supports Keyed services in both the constructor and the `Invoke`/`InvokeAsync` method:
156156

157157
:::code language="csharp" source="~/../AspNetCore.Docs.Samples/samples/KeyedServices9/Program.cs" id="snippet_2":::
158158

0 commit comments

Comments
 (0)