TemplateBinderFactory.Create Method
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.
Overloads
Create(RoutePattern) |
Creates a new TemplateBinder from the provided |
Create(RouteTemplate, RouteValueDictionary) |
Creates a new TemplateBinder from the provided |
Create(RoutePattern)
- Source:
- TemplateBinderFactory.cs
Creates a new TemplateBinder from the provided pattern
.
public:
abstract Microsoft::AspNetCore::Routing::Template::TemplateBinder ^ Create(Microsoft::AspNetCore::Routing::Patterns::RoutePattern ^ pattern);
public abstract Microsoft.AspNetCore.Routing.Template.TemplateBinder Create (Microsoft.AspNetCore.Routing.Patterns.RoutePattern pattern);
abstract member Create : Microsoft.AspNetCore.Routing.Patterns.RoutePattern -> Microsoft.AspNetCore.Routing.Template.TemplateBinder
Public MustOverride Function Create (pattern As RoutePattern) As TemplateBinder
Parameters
- pattern
- RoutePattern
The RoutePattern.
Returns
Applies to
Create(RouteTemplate, RouteValueDictionary)
- Source:
- TemplateBinderFactory.cs
Creates a new TemplateBinder from the provided template
and
defaults
.
public:
abstract Microsoft::AspNetCore::Routing::Template::TemplateBinder ^ Create(Microsoft::AspNetCore::Routing::Template::RouteTemplate ^ template, Microsoft::AspNetCore::Routing::RouteValueDictionary ^ defaults);
public abstract Microsoft.AspNetCore.Routing.Template.TemplateBinder Create (Microsoft.AspNetCore.Routing.Template.RouteTemplate template, Microsoft.AspNetCore.Routing.RouteValueDictionary defaults);
abstract member Create : Microsoft.AspNetCore.Routing.Template.RouteTemplate * Microsoft.AspNetCore.Routing.RouteValueDictionary -> Microsoft.AspNetCore.Routing.Template.TemplateBinder
Public MustOverride Function Create (template As RouteTemplate, defaults As RouteValueDictionary) As TemplateBinder
Parameters
- template
- RouteTemplate
The route template.
- defaults
- RouteValueDictionary
A collection of extra default values that do not appear in the route template.