HttpMethodMatcherPolicy 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
一个 , MatcherPolicy 通过请求的 HTTP 方法实现筛选和选择。
public ref class HttpMethodMatcherPolicy sealed : Microsoft::AspNetCore::Routing::MatcherPolicy, Microsoft::AspNetCore::Routing::Matching::IEndpointComparerPolicy, Microsoft::AspNetCore::Routing::Matching::INodeBuilderPolicy
public ref class HttpMethodMatcherPolicy sealed : Microsoft::AspNetCore::Routing::MatcherPolicy, Microsoft::AspNetCore::Routing::Matching::IEndpointComparerPolicy, Microsoft::AspNetCore::Routing::Matching::IEndpointSelectorPolicy, Microsoft::AspNetCore::Routing::Matching::INodeBuilderPolicy
public sealed class HttpMethodMatcherPolicy : Microsoft.AspNetCore.Routing.MatcherPolicy, Microsoft.AspNetCore.Routing.Matching.IEndpointComparerPolicy, Microsoft.AspNetCore.Routing.Matching.INodeBuilderPolicy
public sealed class HttpMethodMatcherPolicy : Microsoft.AspNetCore.Routing.MatcherPolicy, Microsoft.AspNetCore.Routing.Matching.IEndpointComparerPolicy, Microsoft.AspNetCore.Routing.Matching.IEndpointSelectorPolicy, Microsoft.AspNetCore.Routing.Matching.INodeBuilderPolicy
type HttpMethodMatcherPolicy = class
inherit MatcherPolicy
interface IEndpointComparerPolicy
interface INodeBuilderPolicy
type HttpMethodMatcherPolicy = class
inherit MatcherPolicy
interface IEndpointComparerPolicy
interface IEndpointSelectorPolicy
interface INodeBuilderPolicy
type HttpMethodMatcherPolicy = class
inherit MatcherPolicy
interface IEndpointComparerPolicy
interface INodeBuilderPolicy
interface IEndpointSelectorPolicy
Public NotInheritable Class HttpMethodMatcherPolicy
Inherits MatcherPolicy
Implements IEndpointComparerPolicy, INodeBuilderPolicy
Public NotInheritable Class HttpMethodMatcherPolicy
Inherits MatcherPolicy
Implements IEndpointComparerPolicy, IEndpointSelectorPolicy, INodeBuilderPolicy
- 继承
- 实现
构造函数
HttpMethodMatcherPolicy() |
一个 , MatcherPolicy 通过请求的 HTTP 方法实现筛选和选择。 |
属性
Comparer |
仅供框架使用。 |
Order |
仅供框架使用。 |
方法
显式接口实现
IEndpointSelectorPolicy.AppliesToEndpoints(IReadOnlyList<Endpoint>) |
一个 , MatcherPolicy 通过请求的 HTTP 方法实现筛选和选择。 |
INodeBuilderPolicy.AppliesToEndpoints(IReadOnlyList<Endpoint>) |
一个 , MatcherPolicy 通过请求的 HTTP 方法实现筛选和选择。 |