Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/core/extensions/dependency-injection.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Dependency injection in .NET
description: Learn how .NET implements dependency injection and how to use it.
author: IEvangelist
ms.author: dapine
ms.date: 11/12/2021
ms.date: 12/10/2021
ms.topic: overview
---

Expand Down Expand Up @@ -161,7 +161,7 @@ public class ExampleService
// omitted for brevity
}

public ExampleService(IOptions<ExampleService> options)
public ExampleService(IOptions<ExampleOptions> options)
{
// omitted for brevity
}
Expand All @@ -182,7 +182,7 @@ public class ExampleService

public ExampleService(
ILogger<ExampleService> logger,
IOptions<ExampleService> options)
IOptions<ExampleOptions> options)
{
// omitted for brevity
}
Expand Down