2 implementations of SuppressMatching
Microsoft.AspNetCore.Routing (1)
SuppressMatchingMetadata.cs (1)
19public bool SuppressMatching => true;
Microsoft.AspNetCore.Routing.Tests (1)
Matching\DataSourceDependentMatcherTest.cs (1)
265public bool SuppressMatching => false;
4 references to SuppressMatching
Microsoft.AspNetCore.Mvc.Core.Test (1)
Routing\ActionEndpointFactoryTest.cs (1)
495var isEndpointSuppressed = endpoint.Metadata.GetMetadata<ISuppressMatchingMetadata>()?.SuppressMatching ?? false;
Microsoft.AspNetCore.Routing (3)
Internal\DfaGraphWriter.cs (1)
47if (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)
64if (endpoint.Metadata.GetMetadata<ISuppressMatchingMetadata>()?.SuppressMatching != true)