TemplateMatcher(RouteTemplate, RouteValueDictionary) Constructor

Definition

Creates a new TemplateMatcher instance given a template and 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)

Parameters

template
RouteTemplate

The RouteTemplate to compare against.

defaults
RouteValueDictionary

The default values for parameters in the template.

Applies to