Share via


TemplateBinderFactory.Create Method

Definition

Overloads

Create(RoutePattern)

Creates a new TemplateBinder from the provided pattern.

Create(RouteTemplate, RouteValueDictionary)

Creates a new TemplateBinder from the provided template and defaults.

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

A TemplateBinder.

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.

Returns

A TemplateBinder.

Applies to