2 implementations of SuppressMatching
Microsoft.AspNetCore.Routing (1)
SuppressMatchingMetadata.cs (1)
19
public bool
SuppressMatching
=> true;
Microsoft.AspNetCore.Routing.Tests (1)
Matching\DataSourceDependentMatcherTest.cs (1)
265
public bool
SuppressMatching
=> false;
4 references to SuppressMatching
Microsoft.AspNetCore.Mvc.Core.Test (1)
Routing\ActionEndpointFactoryTest.cs (1)
495
var isEndpointSuppressed = endpoint.Metadata.GetMetadata<ISuppressMatchingMetadata>()?.
SuppressMatching
?? false;
Microsoft.AspNetCore.Routing (3)
Internal\DfaGraphWriter.cs (1)
47
if (endpoints[i] is RouteEndpoint endpoint && (endpoint.Metadata.GetMetadata<ISuppressMatchingMetadata>()?.
SuppressMatching
?? false) == false)
ISuppressMatchingMetadata.cs (1)
7
/// Metadata used to prevent URL matching. If <see cref="
SuppressMatching
"/> is <c>true</c> the
Matching\DataSourceDependentMatcher.cs (1)
64
if (endpoint.Metadata.GetMetadata<ISuppressMatchingMetadata>()?.
SuppressMatching
!= true)