다음을 통해 공유


RequestDelegateRouteBuilderExtensions.MapVerb 메서드

정의

오버로드

MapVerb(IRouteBuilder, String, String, RequestDelegate)

지정된 verb, templatehandlerIRouteBuilder 대한 HTTP 요청과만 일치하는 에 경로를 추가합니다.

MapVerb(IRouteBuilder, String, String, Action<IApplicationBuilder>)

지정된 verb, templateactionIRouteBuilder 대한 HTTP 요청과만 일치하는 에 경로를 추가합니다.

MapVerb(IRouteBuilder, String, String, Func<HttpRequest,HttpResponse,RouteData,Task>)

지정된 verb, templatehandlerIRouteBuilder 대한 HTTP 요청과만 일치하는 에 경로를 추가합니다.

MapVerb(IRouteBuilder, String, String, RequestDelegate)

Source:
RequestDelegateRouteBuilderExtensions.cs
Source:
RequestDelegateRouteBuilderExtensions.cs
Source:
RequestDelegateRouteBuilderExtensions.cs

지정된 verb, templatehandlerIRouteBuilder 대한 HTTP 요청과만 일치하는 에 경로를 추가합니다.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Routing::IRouteBuilder ^ MapVerb(Microsoft::AspNetCore::Routing::IRouteBuilder ^ builder, System::String ^ verb, System::String ^ template, Microsoft::AspNetCore::Http::RequestDelegate ^ handler);
public static Microsoft.AspNetCore.Routing.IRouteBuilder MapVerb (this Microsoft.AspNetCore.Routing.IRouteBuilder builder, string verb, string template, Microsoft.AspNetCore.Http.RequestDelegate handler);
static member MapVerb : Microsoft.AspNetCore.Routing.IRouteBuilder * string * string * Microsoft.AspNetCore.Http.RequestDelegate -> Microsoft.AspNetCore.Routing.IRouteBuilder
<Extension()>
Public Function MapVerb (builder As IRouteBuilder, verb As String, template As String, handler As RequestDelegate) As IRouteBuilder

매개 변수

verb
String

경로에서 허용하는 HTTP 동사입니다.

template
String

경로 템플릿입니다.

handler
RequestDelegate

RequestDelegate 경로 처리기입니다.

반환

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

적용 대상

MapVerb(IRouteBuilder, String, String, Action<IApplicationBuilder>)

지정된 verb, templateactionIRouteBuilder 대한 HTTP 요청과만 일치하는 에 경로를 추가합니다.

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

매개 변수

verb
String

경로에서 허용하는 HTTP 동사입니다.

template
String

경로 템플릿입니다.

action
Action<IApplicationBuilder>

에 적용할 작업입니다 IApplicationBuilder.

반환

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

적용 대상

MapVerb(IRouteBuilder, String, String, Func<HttpRequest,HttpResponse,RouteData,Task>)

Source:
RequestDelegateRouteBuilderExtensions.cs
Source:
RequestDelegateRouteBuilderExtensions.cs
Source:
RequestDelegateRouteBuilderExtensions.cs

지정된 verb, templatehandlerIRouteBuilder 대한 HTTP 요청과만 일치하는 에 경로를 추가합니다.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Routing::IRouteBuilder ^ MapVerb(Microsoft::AspNetCore::Routing::IRouteBuilder ^ builder, System::String ^ verb, System::String ^ template, Func<Microsoft::AspNetCore::Http::HttpRequest ^, Microsoft::AspNetCore::Http::HttpResponse ^, Microsoft::AspNetCore::Routing::RouteData ^, System::Threading::Tasks::Task ^> ^ handler);
public static Microsoft.AspNetCore.Routing.IRouteBuilder MapVerb (this Microsoft.AspNetCore.Routing.IRouteBuilder builder, string verb, string template, Func<Microsoft.AspNetCore.Http.HttpRequest,Microsoft.AspNetCore.Http.HttpResponse,Microsoft.AspNetCore.Routing.RouteData,System.Threading.Tasks.Task> handler);
static member MapVerb : Microsoft.AspNetCore.Routing.IRouteBuilder * string * string * Func<Microsoft.AspNetCore.Http.HttpRequest, Microsoft.AspNetCore.Http.HttpResponse, Microsoft.AspNetCore.Routing.RouteData, System.Threading.Tasks.Task> -> Microsoft.AspNetCore.Routing.IRouteBuilder
<Extension()>
Public Function MapVerb (builder As IRouteBuilder, verb As String, template As String, handler As Func(Of HttpRequest, HttpResponse, RouteData, Task)) As IRouteBuilder

매개 변수

verb
String

경로에서 허용하는 HTTP 동사입니다.

template
String

경로 템플릿입니다.

handler
Func<HttpRequest,HttpResponse,RouteData,Task>

경로 처리기입니다.

반환

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

적용 대상