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 portable class library that targets .NET Framework 4, Windows 8, Windows Phone Silverlight 8, Windows Phone 8.1, and Silverlight 5.
See the version list below for details.
Install-Package CommonServiceLocator -Version 1.3.0
dotnet add package CommonServiceLocator --version 1.3.0
<PackageReference Include="CommonServiceLocator" Version="1.3.0" />
paket add CommonServiceLocator --version 1.3.0
This package has no dependencies.