共用方式為


TemplateBinderFactory.Create 方法

定義

多載

Create(RoutePattern)

從提供的 pattern 建立新的 TemplateBinder

Create(RouteTemplate, RouteValueDictionary)

從提供的 templatedefaults 建立新的 TemplateBinder

Create(RoutePattern)

來源:
TemplateBinderFactory.cs

從提供的 pattern 建立新的 TemplateBinder

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

參數

傳回

TemplateBinder

適用於

Create(RouteTemplate, RouteValueDictionary)

來源:
TemplateBinderFactory.cs

從提供的 templatedefaults 建立新的 TemplateBinder

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

參數

template
RouteTemplate

路由範本。

defaults
RouteValueDictionary

路由範本中未顯示的額外預設值集合。

傳回

TemplateBinder

適用於