Skip to content

Commit db31e8f

Browse files
authored
Update dependency-injection.md (#27499)
1 parent a191766 commit db31e8f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/core/extensions/dependency-injection.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Dependency injection in .NET
33
description: Learn how .NET implements dependency injection and how to use it.
44
author: IEvangelist
55
ms.author: dapine
6-
ms.date: 11/12/2021
6+
ms.date: 12/10/2021
77
ms.topic: overview
88
---
99

@@ -161,7 +161,7 @@ public class ExampleService
161161
// omitted for brevity
162162
}
163163

164-
public ExampleService(IOptions<ExampleService> options)
164+
public ExampleService(IOptions<ExampleOptions> options)
165165
{
166166
// omitted for brevity
167167
}
@@ -182,7 +182,7 @@ public class ExampleService
182182

183183
public ExampleService(
184184
ILogger<ExampleService> logger,
185-
IOptions<ExampleService> options)
185+
IOptions<ExampleOptions> options)
186186
{
187187
// omitted for brevity
188188
}

0 commit comments

Comments
 (0)