Detect services based on service provider (#32737)
* Detect services based on service provider - Use IServiceProviderIsService to detect if a parameter is a service. - As a final fallback, try to detect services from the DI container before falling back to body behavior.
显示
- src/Http/Http.Extensions/src/PublicAPI.Unshipped.txt 3 个添加, 3 个删除src/Http/Http.Extensions/src/PublicAPI.Unshipped.txt
- src/Http/Http.Extensions/src/RequestDelegateFactory.cs 24 个添加, 8 个删除src/Http/Http.Extensions/src/RequestDelegateFactory.cs
- src/Http/Http.Extensions/test/RequestDelegateFactoryTests.cs 82 个添加, 45 个删除src/Http/Http.Extensions/test/RequestDelegateFactoryTests.cs
- src/Http/Routing/src/Builder/MinimalActionEndpointRouteBuilderExtensions.cs 1 个添加, 1 个删除...rc/Builder/MinimalActionEndpointRouteBuilderExtensions.cs
- src/Http/Routing/test/UnitTests/Builder/MinimalActionEndpointRouteBuilderExtensionsTest.cs 30 个添加, 5 个删除...uilder/MinimalActionEndpointRouteBuilderExtensionsTest.cs
加载中
想要评论请 注册 或 登录