Carubbi.ServiceLocator 1.1.1

A Simple Service Locator Helper

Install-Package Carubbi.ServiceLocator -Version 1.1.1
dotnet add package Carubbi.ServiceLocator --version 1.1.1
<PackageReference Include="Carubbi.ServiceLocator" Version="1.1.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Carubbi.ServiceLocator --version 1.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Carubbi.ServiceLocator

A simple helper to implement Service Locator

Example:

 <configSections>
    <section name="Implementations" type="System.Configuration.DictionarySectionHandler"/>
 </configSections>
<Implementations>
    <add key="Intetrface" value="Namespace.Class, AssemblyName"/>
    <add key="ConcreteTypeUsedByReflection" value="Namespace.Class, AssemblyName"/>
</Implementations>
var implementation = ImplementationResolver.Resolve<Interface>();

or

var implementation = ImplementationResolver.Resolve("ConcreteTypeUsedByReflection");

Carubbi.ServiceLocator

A simple helper to implement Service Locator

Example:

 <configSections>
    <section name="Implementations" type="System.Configuration.DictionarySectionHandler"/>
 </configSections>
<Implementations>
    <add key="Intetrface" value="Namespace.Class, AssemblyName"/>
    <add key="ConcreteTypeUsedByReflection" value="Namespace.Class, AssemblyName"/>
</Implementations>
var implementation = ImplementationResolver.Resolve<Interface>();

or

var implementation = ImplementationResolver.Resolve("ConcreteTypeUsedByReflection");

Dependencies

This package has no dependencies.

NuGet packages (8)

Showing the top 5 NuGet packages that depend on Carubbi.ServiceLocator:

Package Downloads
Carubbi.Mainframe
Wrapper de Emulador de Terminal Mainframe Microfocus Rumba
Carubbi.Mailer.Interfaces
Interfaces dos Componentes de Envio e Recebimento de Email
Carubbi.DAL
Micro ORM Baseado em procedures
Carubbi.CaptchaBreaker
Wrapper do Tesseract e do Captcha Breaker para quebra de captchas
Carubbi.Mailer.Outlook2010
Componente de Envio e Recebimento de Email através de interop com o Microsoft Outlook 2010

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.1.1 291 9/13/2018
1.1.0 227 9/13/2018
1.0.0 799 8/20/2018