RouteValuesAddressMetadata Class

Definition

Metadata used during link generation to find the associated endpoint using route values.

C#
public sealed class RouteValuesAddressMetadata : Microsoft.AspNetCore.Routing.IRouteValuesAddressMetadata
Inheritance
RouteValuesAddressMetadata
Implements

Constructors

RouteValuesAddressMetadata(IReadOnlyDictionary<String,Object>)

Creates a new instance of RouteValuesAddressMetadata with the provided required route values.

RouteValuesAddressMetadata(String, IReadOnlyDictionary<String,Object>)

Creates a new instance of RouteValuesAddressMetadata with the provided route name and required route values.

RouteValuesAddressMetadata(String)

Creates a new instance of RouteValuesAddressMetadata with the provided route name.

Properties

RequiredValues

Gets the required route values.

RouteName

Gets the route name. Can be null.

Applies to

Produk Versi
ASP.NET Core 2.2