Partilhar via


TemplateMatcher(RouteTemplate, RouteValueDictionary) Construtor

Definição

Cria uma nova TemplateMatcher instância dada a template e defaults.

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

O RouteTemplate com o qual comparar.

defaults
RouteValueDictionary

Os valores padrão para parâmetros no template.

Aplica-se a