다음을 통해 공유


RequestDelegateRouteBuilderExtensions.MapMiddlewarePost 메서드

정의

지정된 template및 에 IRouteBuilder 대한 HTTP POST 요청과action만 일치하는 에 경로를 추가합니다.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Routing::IRouteBuilder ^ MapMiddlewarePost(Microsoft::AspNetCore::Routing::IRouteBuilder ^ builder, System::String ^ template, Action<Microsoft::AspNetCore::Builder::IApplicationBuilder ^> ^ action);
public static Microsoft.AspNetCore.Routing.IRouteBuilder MapMiddlewarePost (this Microsoft.AspNetCore.Routing.IRouteBuilder builder, string template, Action<Microsoft.AspNetCore.Builder.IApplicationBuilder> action);
static member MapMiddlewarePost : Microsoft.AspNetCore.Routing.IRouteBuilder * string * Action<Microsoft.AspNetCore.Builder.IApplicationBuilder> -> Microsoft.AspNetCore.Routing.IRouteBuilder
<Extension()>
Public Function MapMiddlewarePost (builder As IRouteBuilder, template As String, action As Action(Of IApplicationBuilder)) As IRouteBuilder

매개 변수

template
String

경로 템플릿입니다.

action
Action<IApplicationBuilder>

에 적용할 작업입니다 IApplicationBuilder.

반환

이 작업이 완료된 후 에 builder 대한 참조입니다.

적용 대상