다음을 통해 공유


TemplateBinder 생성자

정의

오버로드

TemplateBinder(UrlEncoder, ObjectPool<UriBuildingContext>, RouteTemplate, RouteValueDictionary)

TemplateBinder의 새 인스턴스를 만듭니다.

TemplateBinder(UrlEncoder, ObjectPool<UriBuildingContext>, RoutePattern, RouteValueDictionary, IEnumerable<String>, IEnumerable<ValueTuple<String, IParameterPolicy>>)

TemplateBinder의 새 인스턴스를 만듭니다.

TemplateBinder(UrlEncoder, ObjectPool<UriBuildingContext>, RouteTemplate, RouteValueDictionary)

Source:
TemplateBinder.cs
Source:
TemplateBinder.cs

TemplateBinder의 새 인스턴스를 만듭니다.

public:
 TemplateBinder(System::Text::Encodings::Web::UrlEncoder ^ urlEncoder, Microsoft::Extensions::ObjectPool::ObjectPool<Microsoft::AspNetCore::Routing::Internal::UriBuildingContext ^> ^ pool, Microsoft::AspNetCore::Routing::Template::RouteTemplate ^ template, Microsoft::AspNetCore::Routing::RouteValueDictionary ^ defaults);
public TemplateBinder (System.Text.Encodings.Web.UrlEncoder urlEncoder, Microsoft.Extensions.ObjectPool.ObjectPool<Microsoft.AspNetCore.Routing.Internal.UriBuildingContext> pool, Microsoft.AspNetCore.Routing.Template.RouteTemplate template, Microsoft.AspNetCore.Routing.RouteValueDictionary defaults);
new Microsoft.AspNetCore.Routing.Template.TemplateBinder : System.Text.Encodings.Web.UrlEncoder * Microsoft.Extensions.ObjectPool.ObjectPool<Microsoft.AspNetCore.Routing.Internal.UriBuildingContext> * Microsoft.AspNetCore.Routing.Template.RouteTemplate * Microsoft.AspNetCore.Routing.RouteValueDictionary -> Microsoft.AspNetCore.Routing.Template.TemplateBinder
Public Sub New (urlEncoder As UrlEncoder, pool As ObjectPool(Of UriBuildingContext), template As RouteTemplate, defaults As RouteValueDictionary)

매개 변수

urlEncoder
UrlEncoder

UrlEncoder

pool
ObjectPool<Microsoft.AspNetCore.Routing.Internal.UriBuildingContext>

ObjectPool<T>

template
RouteTemplate

RouteTemplate 값을 바인딩할 입니다.

defaults
RouteValueDictionary

의 기본값입니다 template.

적용 대상

TemplateBinder(UrlEncoder, ObjectPool<UriBuildingContext>, RoutePattern, RouteValueDictionary, IEnumerable<String>, IEnumerable<ValueTuple<String, IParameterPolicy>>)

Source:
TemplateBinder.cs

TemplateBinder의 새 인스턴스를 만듭니다.

public:
 TemplateBinder(System::Text::Encodings::Web::UrlEncoder ^ urlEncoder, Microsoft::Extensions::ObjectPool::ObjectPool<Microsoft::AspNetCore::Routing::Internal::UriBuildingContext ^> ^ pool, Microsoft::AspNetCore::Routing::Patterns::RoutePattern ^ pattern, Microsoft::AspNetCore::Routing::RouteValueDictionary ^ defaults, System::Collections::Generic::IEnumerable<System::String ^> ^ requiredKeys, System::Collections::Generic::IEnumerable<ValueTuple<System::String ^, Microsoft::AspNetCore::Routing::IParameterPolicy ^>> ^ parameterPolicies);
public TemplateBinder (System.Text.Encodings.Web.UrlEncoder urlEncoder, Microsoft.Extensions.ObjectPool.ObjectPool<Microsoft.AspNetCore.Routing.Internal.UriBuildingContext> pool, Microsoft.AspNetCore.Routing.Patterns.RoutePattern pattern, Microsoft.AspNetCore.Routing.RouteValueDictionary defaults, System.Collections.Generic.IEnumerable<string> requiredKeys, System.Collections.Generic.IEnumerable<(string parameterName, Microsoft.AspNetCore.Routing.IParameterPolicy policy)> parameterPolicies);
new Microsoft.AspNetCore.Routing.Template.TemplateBinder : System.Text.Encodings.Web.UrlEncoder * Microsoft.Extensions.ObjectPool.ObjectPool<Microsoft.AspNetCore.Routing.Internal.UriBuildingContext> * Microsoft.AspNetCore.Routing.Patterns.RoutePattern * Microsoft.AspNetCore.Routing.RouteValueDictionary * seq<string> * seq<ValueTuple<string, Microsoft.AspNetCore.Routing.IParameterPolicy>> -> Microsoft.AspNetCore.Routing.Template.TemplateBinder
Public Sub New (urlEncoder As UrlEncoder, pool As ObjectPool(Of UriBuildingContext), pattern As RoutePattern, defaults As RouteValueDictionary, requiredKeys As IEnumerable(Of String), parameterPolicies As IEnumerable(Of ValueTuple(Of String, IParameterPolicy)))

매개 변수

urlEncoder
UrlEncoder

UrlEncoder

pool
ObjectPool<Microsoft.AspNetCore.Routing.Internal.UriBuildingContext>

ObjectPool<T>

pattern
RoutePattern

RoutePattern 값을 바인딩할 입니다.

defaults
RouteValueDictionary

의 기본값입니다 pattern. 선택 사항입니다.

requiredKeys
IEnumerable<String>

앰비언트 값이 적용되는지 확인하는 데 사용되는 키입니다. 선택 사항입니다.

parameterPolicies
IEnumerable<ValueTuple<String,IParameterPolicy>>

URI를 생성할 때 evalute할 (String, IParameterPolicy) 쌍의 목록입니다.

적용 대상