Compartir a través de


EndpointRouteBuilderExtensions.MapPatch Método

Definición

Sobrecargas

MapPatch(IEndpointRouteBuilder, String, RequestDelegate)

Agrega un RouteEndpoint objeto al IEndpointRouteBuilder objeto que coincide con las solicitudes HTTP PATCH para el patrón especificado.

MapPatch(IEndpointRouteBuilder, String, Delegate)

Agrega un RouteEndpoint objeto al IEndpointRouteBuilder objeto que coincide con las solicitudes HTTP PATCH para el patrón especificado.

MapPatch(IEndpointRouteBuilder, String, RequestDelegate)

Source:
EndpointRouteBuilderExtensions.cs

Agrega un RouteEndpoint objeto al IEndpointRouteBuilder objeto que coincide con las solicitudes HTTP PATCH para el patrón especificado.

public static Microsoft.AspNetCore.Builder.IEndpointConventionBuilder MapPatch (this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string pattern, Microsoft.AspNetCore.Http.RequestDelegate requestDelegate);
static member MapPatch : Microsoft.AspNetCore.Routing.IEndpointRouteBuilder * string * Microsoft.AspNetCore.Http.RequestDelegate -> Microsoft.AspNetCore.Builder.IEndpointConventionBuilder
<Extension()>
Public Function MapPatch (endpoints As IEndpointRouteBuilder, pattern As String, requestDelegate As RequestDelegate) As IEndpointConventionBuilder

Parámetros

endpoints
IEndpointRouteBuilder

al IEndpointRouteBuilder que se va a agregar la ruta.

pattern
String

Patrón de ruta.

requestDelegate
RequestDelegate

Delegado que se ejecuta cuando coincide el punto de conexión.

Devoluciones

IEndpointConventionBuilder que se puede usar para personalizar aún más el punto de conexión.

Se aplica a

MapPatch(IEndpointRouteBuilder, String, Delegate)

Source:
EndpointRouteBuilderExtensions.cs

Agrega un RouteEndpoint objeto al IEndpointRouteBuilder objeto que coincide con las solicitudes HTTP PATCH para el patrón especificado.

public static Microsoft.AspNetCore.Builder.RouteHandlerBuilder MapPatch (this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string pattern, Delegate handler);
static member MapPatch : Microsoft.AspNetCore.Routing.IEndpointRouteBuilder * string * Delegate -> Microsoft.AspNetCore.Builder.RouteHandlerBuilder
<Extension()>
Public Function MapPatch (endpoints As IEndpointRouteBuilder, pattern As String, handler As Delegate) As RouteHandlerBuilder

Parámetros

endpoints
IEndpointRouteBuilder

al IEndpointRouteBuilder que se va a agregar la ruta.

pattern
String

Patrón de ruta.

handler
Delegate

que Delegate se ejecuta cuando se coincide con el punto de conexión.

Devoluciones

RouteHandlerBuilder que se puede usar para personalizar aún más el punto de conexión.

Se aplica a