Bagikan melalui


TemplateBinderFactory.Create Metode

Definisi

Overload

Create(RoutePattern)

Membuat baru TemplateBinder dari yang disediakan pattern.

Create(RouteTemplate, RouteValueDictionary)

Membuat baru TemplateBinder dari yang disediakan template dan defaults.

Create(RoutePattern)

Sumber:
TemplateBinderFactory.cs

Membuat baru TemplateBinder dari yang disediakan 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

Parameter

Mengembalikan

TemplateBinder.

Berlaku untuk

Create(RouteTemplate, RouteValueDictionary)

Sumber:
TemplateBinderFactory.cs

Membuat baru TemplateBinder dari yang disediakan template dan 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

Parameter

template
RouteTemplate

Templat rute.

defaults
RouteValueDictionary

Kumpulan nilai default tambahan yang tidak muncul di templat rute.

Mengembalikan

TemplateBinder.

Berlaku untuk