Skip to content

Typo #29705

@NikolayYakovlev

Description

@NikolayYakovlev

Each services.Add{SERVICE_NAME} extension method…

As far as I understand instead of {SERVICE_NAME} – {LIFETIME} should be used. Whereas this notation was used on Dependency injection overview page: https://docs.microsoft.com/en-us/dotnet/core/extensions/dependency-injection

Add{LIFETIME}<{SERVICE}, {IMPLEMENTATION}>()
Add{LIFETIME}<{IMPLEMENTATION}>()
TryAdd{LIFETIME}


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions