TemplateMatcher(RouteTemplate, RouteValueDictionary) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.