File: ISuppressMatchingMetadata.cs
Web Access
Project: src\src\Http\Routing\src\Microsoft.AspNetCore.Routing.csproj (Microsoft.AspNetCore.Routing)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
namespace Microsoft.AspNetCore.Routing;
 
/// <summary>
/// Metadata used to prevent URL matching. If <see cref="SuppressMatching"/> is <c>true</c> the
/// associated endpoint will not be considered for URL matching.
/// </summary>
public interface ISuppressMatchingMetadata
{
    /// <summary>
    /// Gets a value indicating whether the associated endpoint should be used for URL matching.
    /// </summary>
    bool SuppressMatching { get; }
}