Rebus.ServiceProvider:用于Rebus的Microsoft扩展依赖项注入容器适配器

时间:2024-05-29 05:38:00
【文件属性】:

文件名称:Rebus.ServiceProvider:用于Rebus的Microsoft扩展依赖项注入容器适配器

文件大小:1.67MB

文件格式:ZIP

更新时间:2024-05-29 05:38:00

C#

Rebus.ServiceProvider 为提供基于Microsoft.Extensions.DependencyInjection的容器适配器。 用法 在ASP.NET Core 2.0+ Startup.cs中 public void ConfigureServices ( IServiceCollection services ) { // Register handlers services . AutoRegisterHandlersFromAssemblyOf < Handler1>(); // Configure and register Rebus services . AddRebus ( configure => configure . Logging ( l => l . Use ( new MSLoggerFa


【文件预览】:
Rebus.ServiceProvider-master
----.github()
--------PULL_REQUEST_TEMPLATE.md(299B)
----Rebus.ServiceProvider.sln(3KB)
----Sample.ConsoleApp()
--------Sample.ConsoleApp.csproj(925B)
--------Program.cs(2KB)
--------Message1.cs(301B)
--------Handler1.cs(338B)
--------Producer.cs(1KB)
----Rebus.ServiceProvider.Tests()
--------VerifyProviderAndScopeInStepContext.cs(5KB)
--------CheckTheApi.cs(999B)
--------CheckThisParticularPossibleBug.cs(4KB)
--------Rebus.ServiceProvider.Tests.csproj(908B)
--------VerifyBusLifetimeEventsInContainer.cs(2KB)
--------ServiceProviderExtensionsTests.cs(5KB)
--------NetCoreServiceProviderRealContainerTests.cs(260B)
--------ServiceCollectionExtensionsTests.Bus.cs(6KB)
--------SelfProvidedScopeIsNotDisposed.cs(5KB)
--------RemoveDuplicateHandlers.cs(2KB)
--------PolymorphicMessageHandlerActivation.cs(8KB)
--------CheckServiceScopeAccessFromPipelineStep.cs(3KB)
--------CheckResolutionSpeed.cs(2KB)
--------NetCoreServiceProviderActivationContext.cs(3KB)
--------NetCoreServiceProviderContainerTests.cs(251B)
----scripts()
--------push.cmd(704B)
--------release.cmd(803B)
--------build.cmd(596B)
----artwork()
--------little_rebusbus2_copy-500x500.png(105KB)
--------little_rebusbus2_copy-200x200.png(34KB)
----Sample.WebApp()
--------Startup.cs(2KB)
--------Program.cs(419B)
--------Message1.cs(298B)
--------Handler1.cs(527B)
--------Properties()
--------Sample.WebApp.csproj(859B)
--------MSLoggerFactoryAdapter.cs(2KB)
----CONTRIBUTING.md(2KB)
----tools()
--------NuGet()
----Rebus.ServiceProvider()
--------ServiceProviderExtensions.cs(3KB)
--------Config()
--------Internals()
--------Rebus.ServiceProvider.csproj(1KB)
--------ServiceProvider()
----LICENSE.md(1KB)
----README.md(3KB)
----appveyor.yml(315B)
----.gitignore(330B)
----CHANGELOG.md(3KB)

网友评论