Skip to content

A product that can check and remove/avoid multiple and duplicate services injection in your current project.

License

Notifications You must be signed in to change notification settings

I-RzR-I/UniqueServiceCollection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Note This repository is developed using .netstandard2.0

NuGet Version Nuget Downloads

This repository results from the necessity to avoid multiple and duplicate services injection.

This can be a problem when in solution are multiple projects and a lot of services are injected into every project, and if some of the injected services required additional services, in some cases as a result of this manipulation services may be injected multiple times in the same project. In other words circular injection.

To solve this problem are available some extension methods AddUnique or CheckAndCleanUpDuplicateService for IServiceCollection and ServiceCollection.

In case you wish to use it in your project, u can install the package from nuget.org or specify what version you want:

Install-Package UniqueServiceCollection -Version x.x.x.x

Content

  1. USING
  2. CHANGELOG
  3. BRANCH-GUIDE