次の方法で共有


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 参照。

適用対象