Skip to content

Commit c73808b

Browse files
authored
Remove an unintended file path (#34527)
1 parent 530c128 commit c73808b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aspnetcore/fundamentals/dependency-injection.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ If a class has many injected dependencies, it might be a sign that the class has
240240
The container calls <xref:System.IDisposable.Dispose%2A> for the <xref:System.IDisposable> types it creates. Services resolved from the container should never be disposed by the developer. If a type or factory is registered as a singleton, the container disposes the singleton automatically.
241241

242242
In the following example, the services are created by the service container and disposed automatically:
243-
dependency-injection\samples\6.x\DIsample2\DIsample2\Services\Service1.cs
243+
244244
[!code-csharp[](~/fundamentals/dependency-injection/samples/6.x/DIsample2/DIsample2/Services/Service1.cs?name=snippet)]
245245

246246
[!code-csharp[](~/fundamentals/dependency-injection/samples/6.x/DIsample2/DIsample2/Program.cs?name=snippet)]

0 commit comments

Comments
 (0)