다음을 통해 공유


RouteBuilder 생성자

정의

오버로드

RouteBuilder(IApplicationBuilder)

지정된 새 RouteBuilder instance 생성합니다applicationBuilder.

RouteBuilder(IApplicationBuilder, IRouter)

defaultHandler가 지정된 applicationBuilderRouteBuilder instance 생성합니다.

RouteBuilder(IApplicationBuilder)

Source:
RouteBuilder.cs
Source:
RouteBuilder.cs
Source:
RouteBuilder.cs

지정된 새 RouteBuilder instance 생성합니다applicationBuilder.

public:
 RouteBuilder(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ applicationBuilder);
public RouteBuilder (Microsoft.AspNetCore.Builder.IApplicationBuilder applicationBuilder);
new Microsoft.AspNetCore.Routing.RouteBuilder : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Routing.RouteBuilder
Public Sub New (applicationBuilder As IApplicationBuilder)

매개 변수

applicationBuilder
IApplicationBuilder

IApplicationBuilder 인스턴스입니다.

적용 대상

RouteBuilder(IApplicationBuilder, IRouter)

Source:
RouteBuilder.cs
Source:
RouteBuilder.cs
Source:
RouteBuilder.cs

defaultHandler가 지정된 applicationBuilderRouteBuilder instance 생성합니다.

public:
 RouteBuilder(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ applicationBuilder, Microsoft::AspNetCore::Routing::IRouter ^ defaultHandler);
public RouteBuilder (Microsoft.AspNetCore.Builder.IApplicationBuilder applicationBuilder, Microsoft.AspNetCore.Routing.IRouter defaultHandler);
public RouteBuilder (Microsoft.AspNetCore.Builder.IApplicationBuilder applicationBuilder, Microsoft.AspNetCore.Routing.IRouter? defaultHandler);
new Microsoft.AspNetCore.Routing.RouteBuilder : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Routing.IRouter -> Microsoft.AspNetCore.Routing.RouteBuilder
Public Sub New (applicationBuilder As IApplicationBuilder, defaultHandler As IRouter)

매개 변수

applicationBuilder
IApplicationBuilder

IApplicationBuilder 인스턴스입니다.

defaultHandler
IRouter

처리기 없이 새 경로가 추가되는 경우 사용되는 기본값 IRouter 입니다.

적용 대상