HttpMethodMatcherPolicy 类

定义

一个 , 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
实现

构造函数

HttpMethodMatcherPolicy()

一个 , MatcherPolicy 通过请求的 HTTP 方法实现筛选和选择。

属性

Comparer

仅供框架使用。

Order

仅供框架使用。

方法

AppliesToEndpoints(IReadOnlyList<Endpoint>)

仅供框架使用。

ApplyAsync(HttpContext, CandidateSet)

仅供框架使用。

BuildJumpTable(Int32, IReadOnlyList<PolicyJumpTableEdge>)

仅供框架使用。

GetEdges(IReadOnlyList<Endpoint>)

仅供框架使用。

显式接口实现

IEndpointSelectorPolicy.AppliesToEndpoints(IReadOnlyList<Endpoint>)

一个 , MatcherPolicy 通过请求的 HTTP 方法实现筛选和选择。

INodeBuilderPolicy.AppliesToEndpoints(IReadOnlyList<Endpoint>)

一个 , MatcherPolicy 通过请求的 HTTP 方法实现筛选和选择。

适用于