Introduce IBindableFromHttpContext<TSelf> (#41100)
* Added IBindableFromHttpContext<TSelf> interface
* Discover BindAsync via IBindableFromHttpContext interface
* Added tests
Co-authored-by:
Stephen Halter <halter73@gmail.com>
显示
- src/Http/Http.Abstractions/src/IBindableFromHttpContextOfT.cs 22 个添加, 0 个删除...Http/Http.Abstractions/src/IBindableFromHttpContextOfT.cs
- src/Http/Http.Abstractions/src/PublicAPI.Unshipped.txt 2 个添加, 0 个删除src/Http/Http.Abstractions/src/PublicAPI.Unshipped.txt
- src/Http/Http.Extensions/test/ParameterBindingMethodCacheTests.cs 145 个添加, 1 个删除.../Http.Extensions/test/ParameterBindingMethodCacheTests.cs
- src/Http/samples/MinimalSample/Program.cs 14 个添加, 0 个删除src/Http/samples/MinimalSample/Program.cs
- src/Shared/ParameterBindingMethodCache.cs 31 个添加, 4 个删除src/Shared/ParameterBindingMethodCache.cs
加载中
想要评论请 注册 或 登录