다음을 통해 공유


RequestDelegateRouteBuilderExtensions.MapMiddlewarePut 메서드

정의

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

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

매개 변수

template
String

경로 템플릿입니다.

action
Action<IApplicationBuilder>

에 적용할 작업입니다 IApplicationBuilder.

반환

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

적용 대상