File: Metadata\IFromRouteMetadata.cs
Web Access
Project: src\src\Http\Http.Abstractions\src\Microsoft.AspNetCore.Http.Abstractions.csproj (Microsoft.AspNetCore.Http.Abstractions)
// 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.Http.Metadata;
 
/// <summary>
/// Interface marking attributes that specify a parameter should be bound using route-data from the current request.
/// </summary>
public interface IFromRouteMetadata
{
    /// <summary>
    /// The <see cref="HttpRequest.RouteValues"/> name.
    /// </summary>
    string? Name { get; }
}