DefaultEndpointFilterInvocationContext 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
提供默认实现,用于包装提供给路由处理程序的 HttpContext 和 参数。
public sealed class DefaultEndpointFilterInvocationContext : Microsoft.AspNetCore.Http.EndpointFilterInvocationContext
type DefaultEndpointFilterInvocationContext = class
inherit EndpointFilterInvocationContext
Public NotInheritable Class DefaultEndpointFilterInvocationContext
Inherits EndpointFilterInvocationContext
- 继承
构造函数
DefaultEndpointFilterInvocationContext(HttpContext, Object[]) |
为给定请求创建 的新 DefaultEndpointFilterInvocationContext 实例。 |
属性
Arguments |
当前请求中向筛选器提供的参数列表。 此列表不是只读的,它允许通过筛选器修改现有参数。 |
HttpContext |
HttpContext与筛选器正在处理的当前请求关联的 。 |
方法
GetArgument<T>(Int32) |
在给定参数列表中的位置的情况下检索参数。 |
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈