Compartir a través de


TemplateMatcher(RouteTemplate, RouteValueDictionary) Constructor

Definición

Crea una nueva TemplateMatcher instancia dada a y defaultstemplate .

public:
 TemplateMatcher(Microsoft::AspNetCore::Routing::Template::RouteTemplate ^ template, Microsoft::AspNetCore::Routing::RouteValueDictionary ^ defaults);
public TemplateMatcher (Microsoft.AspNetCore.Routing.Template.RouteTemplate template, Microsoft.AspNetCore.Routing.RouteValueDictionary defaults);
new Microsoft.AspNetCore.Routing.Template.TemplateMatcher : Microsoft.AspNetCore.Routing.Template.RouteTemplate * Microsoft.AspNetCore.Routing.RouteValueDictionary -> Microsoft.AspNetCore.Routing.Template.TemplateMatcher
Public Sub New (template As RouteTemplate, defaults As RouteValueDictionary)

Parámetros

template
RouteTemplate

El RouteTemplate con el que se va a comparar.

defaults
RouteValueDictionary

Los valores predeterminados de los parámetros de template.

Se aplica a