diff options
Diffstat (limited to 'src/Http/Routing/src/SuppressMatchingMetadata.cs')
-rw-r--r-- | src/Http/Routing/src/SuppressMatchingMetadata.cs | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/src/Http/Routing/src/SuppressMatchingMetadata.cs b/src/Http/Routing/src/SuppressMatchingMetadata.cs index 540f748b28..8d59dcefb3 100644 --- a/src/Http/Routing/src/SuppressMatchingMetadata.cs +++ b/src/Http/Routing/src/SuppressMatchingMetadata.cs @@ -1,17 +1,16 @@ // 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 +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 sealed class SuppressMatchingMetadata : ISuppressMatchingMetadata { /// <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. + /// Gets a value indicating whether the associated endpoint should be used for URL matching. /// </summary> - public sealed class SuppressMatchingMetadata : ISuppressMatchingMetadata - { - /// <summary> - /// Gets a value indicating whether the associated endpoint should be used for URL matching. - /// </summary> - public bool SuppressMatching => true; - } + public bool SuppressMatching => true; } |