TemplateBinder 생성자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
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
- pool
- ObjectPool<Microsoft.AspNetCore.Routing.Internal.UriBuildingContext>
- 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
- pool
- ObjectPool<Microsoft.AspNetCore.Routing.Internal.UriBuildingContext>
- pattern
- RoutePattern
RoutePattern 값을 바인딩할 입니다.
- defaults
- RouteValueDictionary
의 기본값입니다 pattern
. 선택 사항입니다.
- requiredKeys
- IEnumerable<String>
앰비언트 값이 적용되는지 확인하는 데 사용되는 키입니다. 선택 사항입니다.
- parameterPolicies
- IEnumerable<ValueTuple<String,IParameterPolicy>>
URI를 생성할 때 evalute할 (String, IParameterPolicy) 쌍의 목록입니다.