IRouteTemplateProvider IRouteTemplateProvider IRouteTemplateProvider IRouteTemplateProvider Interface


Interface for attributes which can supply a route template for attribute routing.

public interface class IRouteTemplateProvider
public interface IRouteTemplateProvider
type IRouteTemplateProvider = interface
Public Interface IRouteTemplateProvider


Name Name Name Name

Gets the route name. The route name can be used to generate a link using a specific route, instead of relying on selection of a route based on the given set of route values.

Order Order Order Order

Gets the route order. The order determines the order of route execution. Routes with a lower order value are tried first. When a route doesn't specify a value, it gets a default value of 0. A null value for the Order property means that the user didn't specify an explicit order for the route.

Template Template Template Template

The route template. May be null.

Applies to