Dela via


RouteValuesAddressMetadata Class

Definition

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

public ref class RouteValuesAddressMetadata sealed : Microsoft::AspNetCore::Routing::IRouteValuesAddressMetadata
public sealed class RouteValuesAddressMetadata : Microsoft.AspNetCore.Routing.IRouteValuesAddressMetadata
type RouteValuesAddressMetadata = class
    interface IRouteValuesAddressMetadata
Public NotInheritable Class RouteValuesAddressMetadata
Implements 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