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