4 implementations of INodeBuilderPolicy
Microsoft.AspNetCore.Routing (4)
Matching\AcceptsMatcherPolicy.cs (1)
11
internal sealed class AcceptsMatcherPolicy : MatcherPolicy, IEndpointComparerPolicy,
INodeBuilderPolicy
, IEndpointSelectorPolicy
Matching\HostMatcherPolicy.cs (1)
14
public sealed class HostMatcherPolicy : MatcherPolicy, IEndpointComparerPolicy,
INodeBuilderPolicy
, IEndpointSelectorPolicy
Matching\HttpMethodMatcherPolicy.cs (1)
16
public sealed class HttpMethodMatcherPolicy : MatcherPolicy, IEndpointComparerPolicy,
INodeBuilderPolicy
, IEndpointSelectorPolicy
Matching\NegotiationMatcherPolicy.cs (1)
10
internal abstract class NegotiationMatcherPolicy<TNegotiateMetadata> : MatcherPolicy, IEndpointSelectorPolicy,
INodeBuilderPolicy
, IEndpointComparerPolicy
15 references to INodeBuilderPolicy
Microsoft.AspNetCore.Routing (15)
Matching\AcceptsMatcherPolicy.cs (1)
22
bool
INodeBuilderPolicy
.AppliesToEndpoints(IReadOnlyList<Endpoint> endpoints)
Matching\DfaMatcherBuilder.cs (6)
24
private readonly
INodeBuilderPolicy
[] _nodeBuilders;
693
private static PolicyJumpTable BuildPolicy(int exitDestination,
INodeBuilderPolicy
nodeBuilder, PolicyJumpTableEdge[] policyEntries)
893
var
nodeBuilder = _nodeBuilders[i];
953
private static (
INodeBuilderPolicy
[] nodeBuilderPolicies, IEndpointComparerPolicy[] endpointComparerPolicies, IEndpointSelectorPolicy[] endpointSelectorPolicies) ExtractPolicies(IEnumerable<MatcherPolicy> policies)
955
var nodeBuilderPolicies = new List<
INodeBuilderPolicy
>();
961
if (policy is
INodeBuilderPolicy
nodeBuilderPolicy)
Matching\DfaNode.cs (1)
34
public
INodeBuilderPolicy
NodeBuilder { get; set; }
Matching\HostMatcherPolicy.cs (1)
26
bool
INodeBuilderPolicy
.AppliesToEndpoints(IReadOnlyList<Endpoint> endpoints)
Matching\HttpMethodMatcherPolicy.cs (1)
39
bool
INodeBuilderPolicy
.AppliesToEndpoints(IReadOnlyList<Endpoint> endpoints)
Matching\MatcherPolicy.cs (3)
18
/// and <see cref="
INodeBuilderPolicy
"/>.
41
/// An implementation of <see cref="
INodeBuilderPolicy
"/> should also implement <see cref="IEndpointSelectorPolicy"/>
43
/// <see cref="
INodeBuilderPolicy
"/> implementations rely on caching of data based on a static set of endpoints. This
Matching\NegotiationMatcherPolicy.cs (2)
23
bool
INodeBuilderPolicy
.AppliesToEndpoints(IReadOnlyList<Endpoint> endpoints) =>
358
PolicyJumpTable
INodeBuilderPolicy
.BuildJumpTable(int exitDestination, IReadOnlyList<PolicyJumpTableEdge> edges)