Skip to content

Commit 01c2d68

Browse files
authored
Update dependency-injection-basics.md (#44486)
Missing closing inline code backtick.
1 parent d9474fb commit 01c2d68

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/core/extensions/dependency-injection-basics.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Dependency injection basics
33
description: Learn how to use dependency injection (DI) in your .NET apps with this simple example. Follow along with this pragmatic guide to understand DI basics in C#.
44
author: IEvangelist
55
ms.author: dapine
6-
ms.date: 07/30/2024
6+
ms.date: 01/22/2025
77
no-loc: [Transient, Scoped, Singleton, Example]
88
---
99

@@ -87,7 +87,7 @@ The preceding updated code demonstrates the how-to:
8787

8888
- Create a new `ServiceCollection` instance.
8989
- Register and configure services in the `ServiceCollection`:
90-
- The `IConsole` using the implementation factory overload, return a `DefaultConsole` type with the `IsEnabled` set to `true.
90+
- The `IConsole` using the implementation factory overload, return a `DefaultConsole` type with the `IsEnabled` set to `true`.
9191
- The `IGreetingService` is added with a corresponding implementation type of `DefaultGreetingService` type.
9292
- The `FarewellService` is added as a concrete type.
9393
- Build the `ServiceProvider` from the `ServiceCollection`.

0 commit comments

Comments
 (0)