Skip to content
This repository was archived by the owner on Nov 2, 2018. It is now read-only.
This repository was archived by the owner on Nov 2, 2018. It is now read-only.

Remove the Add* methods from (I)ServiceCollection that don't take in an IServiceDescriptor #117

@halter73

Description

@halter73

All of the Add* methods in ServiceCollection that do not take in an IServiceDescriptor (e.g. AddTransient) can be implemented as extension methods in ServiceCollectionExtensions instead of in the ServiceCollection itself. Generally we prefer extension methods over regular methods all else being equal.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions