Share via


EndpointNameMetadata Class

Definition

Specifies an endpoint name in Metadata.

public ref class EndpointNameMetadata : Microsoft::AspNetCore::Routing::IEndpointNameMetadata
public class EndpointNameMetadata : Microsoft.AspNetCore.Routing.IEndpointNameMetadata
type EndpointNameMetadata = class
    interface IEndpointNameMetadata
Public Class EndpointNameMetadata
Implements IEndpointNameMetadata
Inheritance
EndpointNameMetadata
Implements

Remarks

Endpoint names must be unique within an application, and can be used to unambiguously identify a desired endpoint for URI generation using LinkGenerator.

Constructors

EndpointNameMetadata(String)

Creates a new instance of EndpointNameMetadata with the provided endpoint name.

Properties

EndpointName

Gets the endpoint name.

Methods

ToString()

Returns a string that represents the current object.

Applies to