The Common Service Locator library contains a shared interface for service location which application and framework developers can reference. The library provides an abstraction over IoC containers and service locators. Using the library allows an application to indirectly access the capabilities without relying on hard references. The hope is that using this library, third-party applications and frameworks can begin to leverage IoC/Service Location without tying themselves down to a specific implementation. This library contains a class library that targets .Net Core 2.0 & .Net Standard 2.0.
Install-Package DotNetCore.CommonServiceLocator -Version 1.5.0
dotnet add package DotNetCore.CommonServiceLocator --version 1.5.0
<PackageReference Include="DotNetCore.CommonServiceLocator" Version="1.5.0" />
paket add DotNetCore.CommonServiceLocator --version 1.5.0
Net Core Common service Locator
- No dependencies.