9 implementations of AppliesToEndpoints
Microsoft.AspNetCore.Mvc.Core (2)
Routing\ActionConstraintMatcherPolicy.cs (1)
31
public bool
AppliesToEndpoints
(IReadOnlyList<Endpoint> endpoints)
Routing\DynamicControllerEndpointMatcherPolicy.cs (1)
30
public bool
AppliesToEndpoints
(IReadOnlyList<Endpoint> endpoints)
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (1)
PageLoaderMatcherPolicy.cs (1)
33
public bool
AppliesToEndpoints
(IReadOnlyList<Endpoint> endpoints)
Microsoft.AspNetCore.Mvc.RazorPages (1)
Infrastructure\DynamicPageEndpointMatcherPolicy.cs (1)
33
public bool
AppliesToEndpoints
(IReadOnlyList<Endpoint> endpoints)
Microsoft.AspNetCore.Routing (4)
Matching\AcceptsMatcherPolicy.cs (1)
34
bool IEndpointSelectorPolicy.
AppliesToEndpoints
(IReadOnlyList<Endpoint> endpoints)
Matching\HostMatcherPolicy.cs (1)
33
bool IEndpointSelectorPolicy.
AppliesToEndpoints
(IReadOnlyList<Endpoint> endpoints)
Matching\HttpMethodMatcherPolicy.cs (1)
51
bool IEndpointSelectorPolicy.
AppliesToEndpoints
(IReadOnlyList<Endpoint> endpoints)
Matching\NegotiationMatcherPolicy.cs (1)
26
bool IEndpointSelectorPolicy.
AppliesToEndpoints
(IReadOnlyList<Endpoint> endpoints) =>
Microsoft.AspNetCore.Routing.Microbenchmarks (1)
Matching\MatcherBuilderMultipleEntryBenchmark.cs (1)
174
public bool
AppliesToEndpoints
(IReadOnlyList<Endpoint> endpoints)
21 references to AppliesToEndpoints
Microsoft.AspNetCore.Routing (1)
Matching\DfaMatcherBuilder.cs (1)
655
if (endpointSelectorPolicy.
AppliesToEndpoints
(node.Matches))
Microsoft.AspNetCore.Routing.Tests (20)
Matching\AcceptsMatcherPolicyTest.cs (4)
94
var result = policy.
AppliesToEndpoints
(endpoints);
112
var result = policy.
AppliesToEndpoints
(endpoints);
131
var result = policy.
AppliesToEndpoints
(endpoints);
150
var result = policy.
AppliesToEndpoints
(endpoints);
Matching\ContentEncodingNegotiationMatcherPolicyTest.cs (3)
29
var result = policy.
AppliesToEndpoints
(endpoints);
47
var result = policy.
AppliesToEndpoints
(endpoints);
65
var result = policy.
AppliesToEndpoints
(endpoints);
Matching\DfaMatcherTest.cs (4)
959
.Setup(p => p.
AppliesToEndpoints
(It.IsAny<IReadOnlyList<Endpoint>>())).Returns(true);
995
.Setup(p => p.
AppliesToEndpoints
(It.IsAny<IReadOnlyList<Endpoint>>())).Returns(false);
1030
.Setup(p => p.
AppliesToEndpoints
(It.IsAny<IReadOnlyList<Endpoint>>())).Returns(true);
1047
.Setup(p => p.
AppliesToEndpoints
(It.IsAny<IReadOnlyList<Endpoint>>())).Returns(true);
Matching\HostMatcherPolicyTest.cs (5)
112
var result = policy.
AppliesToEndpoints
(endpoints);
130
var result = policy.
AppliesToEndpoints
(endpoints);
149
var result = policy.
AppliesToEndpoints
(endpoints);
168
var result = policy.
AppliesToEndpoints
(endpoints);
191
policy.
AppliesToEndpoints
(endpoints);
Matching\HttpMethodMatcherPolicyTest.cs (4)
92
var result = policy.
AppliesToEndpoints
(endpoints);
110
var result = policy.
AppliesToEndpoints
(endpoints);
129
var result = policy.
AppliesToEndpoints
(endpoints);
148
var result = policy.
AppliesToEndpoints
(endpoints);