Skip to content

Commit aad61d1

Browse files
Update dependency-injection-usage.md (#47997)
to modify 'Register services for DI' section
1 parent 4395a51 commit aad61d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,10 +105,10 @@ Each `services.Add{LIFETIME}<{SERVICE}>` extension method adds (and potentially
105105

106106
The app:
107107

108-
- Creates an <xref:Microsoft.Extensions.Hosting.IHostBuilder> instance with [host builder settings](generic-host.md#host-builder-settings).
108+
- Creates an <xref:Microsoft.Extensions.Hosting.IHostApplicationBuilder> instance with [host builder settings](generic-host.md#host-builder-settings).
109109
- Configures services and adds them with their corresponding service lifetime.
110110
- Calls <xref:Microsoft.Extensions.Hosting.IHostBuilder.Build> and assigns an instance of <xref:Microsoft.Extensions.Hosting.IHost>.
111-
- Calls `ExemplifyScoping`, passing in the <xref:Microsoft.Extensions.Hosting.IHost.Services?displayProperty=nameWithType>.
111+
- Calls `ExemplifyServiceLifetime`, passing in the <xref:Microsoft.Extensions.Hosting.IHost.Services?displayProperty=nameWithType>.
112112

113113
## Conclusion
114114

0 commit comments

Comments
 (0)