Condividi tramite


TemplateMatcher(RouteTemplate, RouteValueDictionary) Costruttore

Definizione

Crea una nuova TemplateMatcher istanza in base a e templatedefaults.

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)

Parametri

template
RouteTemplate

Oggetto RouteTemplate con cui eseguire il confronto.

defaults
RouteValueDictionary

Valori predefiniti per i parametri in template.

Si applica a