다음을 통해 공유


RouteBase 생성자

정의

RouteBase 인스턴스를 만듭니다.

public:
 RouteBase(System::String ^ template, System::String ^ name, Microsoft::AspNetCore::Routing::IInlineConstraintResolver ^ constraintResolver, Microsoft::AspNetCore::Routing::RouteValueDictionary ^ defaults, System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ constraints, Microsoft::AspNetCore::Routing::RouteValueDictionary ^ dataTokens);
public RouteBase (string template, string name, Microsoft.AspNetCore.Routing.IInlineConstraintResolver constraintResolver, Microsoft.AspNetCore.Routing.RouteValueDictionary defaults, System.Collections.Generic.IDictionary<string,object> constraints, Microsoft.AspNetCore.Routing.RouteValueDictionary dataTokens);
public RouteBase (string? template, string? name, Microsoft.AspNetCore.Routing.IInlineConstraintResolver constraintResolver, Microsoft.AspNetCore.Routing.RouteValueDictionary? defaults, System.Collections.Generic.IDictionary<string,object>? constraints, Microsoft.AspNetCore.Routing.RouteValueDictionary? dataTokens);
new Microsoft.AspNetCore.Routing.RouteBase : string * string * Microsoft.AspNetCore.Routing.IInlineConstraintResolver * Microsoft.AspNetCore.Routing.RouteValueDictionary * System.Collections.Generic.IDictionary<string, obj> * Microsoft.AspNetCore.Routing.RouteValueDictionary -> Microsoft.AspNetCore.Routing.RouteBase
Public Sub New (template As String, name As String, constraintResolver As IInlineConstraintResolver, defaults As RouteValueDictionary, constraints As IDictionary(Of String, Object), dataTokens As RouteValueDictionary)

매개 변수

template
String

경로 템플릿입니다.

name
String

경로의 이름입니다.

constraintResolver
IInlineConstraintResolver

IInlineConstraintResolver 인라인 제약 조건을 해결하는 데 사용되는 입니다.

defaults
RouteValueDictionary

경로의 매개 변수에 대한 기본값입니다.

constraints
IDictionary<String,Object>

경로에 대한 제약 조건입니다.

dataTokens
RouteValueDictionary

경로에 대한 데이터 토큰입니다.

적용 대상