다음을 통해 공유


RouterMiddleware(RequestDelegate, ILoggerFactory, IRouter) 생성자

정의

지정된 router를 사용하여 새 RouterMiddleware instance 생성합니다.

public:
 RouterMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory, Microsoft::AspNetCore::Routing::IRouter ^ router);
public RouterMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.AspNetCore.Routing.IRouter router);
new Microsoft.AspNetCore.Builder.RouterMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.Extensions.Logging.ILoggerFactory * Microsoft.AspNetCore.Routing.IRouter -> Microsoft.AspNetCore.Builder.RouterMiddleware
Public Sub New (next As RequestDelegate, loggerFactory As ILoggerFactory, router As IRouter)

매개 변수

next
RequestDelegate

요청 파이프라인의 나머지 미들웨어를 나타내는 대리자입니다.

router
IRouter

IRouter 라우팅 요청에 사용할 입니다.

적용 대상