다음을 통해 공유


RouteBase.GetConstraints 메서드

정의

지정된 RouteTemplate에서 constatins를 추출합니다.

protected:
 static System::Collections::Generic::IDictionary<System::String ^, Microsoft::AspNetCore::Routing::IRouteConstraint ^> ^ GetConstraints(Microsoft::AspNetCore::Routing::IInlineConstraintResolver ^ inlineConstraintResolver, Microsoft::AspNetCore::Routing::Template::RouteTemplate ^ parsedTemplate, System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ constraints);
protected static System.Collections.Generic.IDictionary<string,Microsoft.AspNetCore.Routing.IRouteConstraint> GetConstraints (Microsoft.AspNetCore.Routing.IInlineConstraintResolver inlineConstraintResolver, Microsoft.AspNetCore.Routing.Template.RouteTemplate parsedTemplate, System.Collections.Generic.IDictionary<string,object> constraints);
protected static System.Collections.Generic.IDictionary<string,Microsoft.AspNetCore.Routing.IRouteConstraint> GetConstraints (Microsoft.AspNetCore.Routing.IInlineConstraintResolver inlineConstraintResolver, Microsoft.AspNetCore.Routing.Template.RouteTemplate parsedTemplate, System.Collections.Generic.IDictionary<string,object>? constraints);
static member GetConstraints : Microsoft.AspNetCore.Routing.IInlineConstraintResolver * Microsoft.AspNetCore.Routing.Template.RouteTemplate * System.Collections.Generic.IDictionary<string, obj> -> System.Collections.Generic.IDictionary<string, Microsoft.AspNetCore.Routing.IRouteConstraint>
Protected Shared Function GetConstraints (inlineConstraintResolver As IInlineConstraintResolver, parsedTemplate As RouteTemplate, constraints As IDictionary(Of String, Object)) As IDictionary(Of String, IRouteConstraint)

매개 변수

inlineConstraintResolver
IInlineConstraintResolver

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

parsedTemplate
RouteTemplate

RouteTemplate 인스턴스입니다.

constraints
IDictionary<String,Object>

경로 템플릿에 대한 제약 조건의 컬렉션입니다.

반환

적용 대상