Skip to content

Commit 711d134

Browse files
authored
Fix typo in dependency-injection-basics.md (#42998)
Fixes #42888
1 parent 84e70a2 commit 711d134

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ The most commonly used APIs for adding services to the `ServiceCollection` are l
118118
- `AddTransient<TService>`
119119
- `AddScoped<TService>`
120120

121-
These methods are convenience methods that create a <xref:Microsoft.Extensions.DependencyInjection.ServiceDescriptor> instance and add it to the `ServiceCollection`. The `ServiceDescriptor` is a simple class that describes a service with its service type, implementation type, and lifetime. It can also desribe implementation factories and instances.
121+
These methods are convenience methods that create a <xref:Microsoft.Extensions.DependencyInjection.ServiceDescriptor> instance and add it to the `ServiceCollection`. The `ServiceDescriptor` is a simple class that describes a service with its service type, implementation type, and lifetime. It can also describe implementation factories and instances.
122122

123123
For each of the services that you registered in the `ServiceCollection`, you could instead call the `Add` method with a `ServiceDescriptor` instance directly. Consider the following examples:
124124

0 commit comments

Comments
 (0)