Autofac.Extras

所属分类:collect
开发工具:PowerShell
文件大小:0KB
下载次数:0
上传日期:2023-04-07 16:32:40
上 传 者sh-1993
说明:  Autofac IoC的通用服务定位器实现,
(Common Service Locator implementation for Autofac IoC,)

文件列表:
.editorconfig (8811, 2023-04-07)
.vscode/ (0, 2023-04-07)
.vscode/extensions.json (352, 2023-04-07)
.vscode/launch.json (519, 2023-04-07)
.vscode/settings.json (396, 2023-04-07)
.vscode/tasks.json (1182, 2023-04-07)
Autofac.Extras.CommonServiceLocator.sln (3043, 2023-04-07)
Autofac.snk (596, 2023-04-07)
LICENSE (1083, 2023-04-07)
NuGet.Config (434, 2023-04-07)
appveyor.yml (744, 2023-04-07)
build.ps1 (3266, 2023-04-07)
build/ (0, 2023-04-07)
build/Analyzers.ruleset (2578, 2023-04-07)
build/Autofac.Build.psd1 (412, 2023-04-07)
build/Autofac.Build.psm1 (7502, 2023-04-07)
build/Test.ruleset (3877, 2023-04-07)
build/icon.png (7062, 2023-04-07)
build/stylecop.json (557, 2023-04-07)
codecov.yml (131, 2023-04-07)
global.json (148, 2023-04-07)
src/ (0, 2023-04-07)
src/Autofac.Extras.CommonServiceLocator/ (0, 2023-04-07)
src/Autofac.Extras.CommonServiceLocator/Autofac.Extras.CommonServiceLocator.csproj (3321, 2023-04-07)
src/Autofac.Extras.CommonServiceLocator/AutofacServiceLocator.cs (2720, 2023-04-07)
test/ (0, 2023-04-07)
test/Autofac.Extras.CommonServiceLocator.Test/ (0, 2023-04-07)
test/Autofac.Extras.CommonServiceLocator.Test/Autofac.Extras.CommonServiceLocator.Test.csproj (2252, 2023-04-07)
test/Autofac.Extras.CommonServiceLocator.Test/AutofacServiceLocatorTests.cs (3654, 2023-04-07)
test/Autofac.Extras.CommonServiceLocator.Test/Components/ (0, 2023-04-07)
test/Autofac.Extras.CommonServiceLocator.Test/Components/AdvancedLogger.cs (492, 2023-04-07)
test/Autofac.Extras.CommonServiceLocator.Test/Components/ILogger.cs (267, 2023-04-07)
test/Autofac.Extras.CommonServiceLocator.Test/Components/SimpleLogger.cs (328, 2023-04-07)

# Autofac.Extras.CommonServiceLocator Common Service Locator implementation for Autofac. [![Build status](https://ci.appveyor.com/api/projects/status/p3hwgqspvxvmhm8n?svg=true)](https://ci.appveyor.com/project/Autofac/autofac-extras-commonservicelocator) Please file issues and pull requests for this package in this repository rather than in the Autofac core repo. - [Documentation](https://autofac.readthedocs.io/en/latest/integration/csl.html) - [NuGet](https://www.nuget.org/packages/Autofac.Extras.CommonServiceLocator/) - [Contributing](https://autofac.readthedocs.io/en/latest/contributors.html) - [Open in Visual Studio Code](https://open.vscode.dev/autofac/Autofac.Extras.CommonServiceLocator) ## Quick Start ```c# var builder = new ContainerBuilder(); // Perform registrations and build the container. var container = builder.Build(); // Set the service locator to an AutofacServiceLocator. var csl = new AutofacServiceLocator(container); ServiceLocator.SetLocatorProvider(() => csl); ``` Check out the [Autofac Common Service Locator documentation](https://autofac.readthedocs.io/en/latest/integration/csl.html) for more information. ## Get Help **Need help with Autofac?** We have [a documentation site](https://autofac.readthedocs.io/) as well as [API documentation](https://autofac.org/apidoc/). We're ready to answer your questions on [Stack Overflow](https://stackoverflow.com/questions/tagged/autofac) or check out the [discussion forum](https://groups.google.com/forum/#forum/autofac).

近期下载者

相关文件


收藏者