EndpointRouteBuilderExtensions.MapPut Méthode

Définition

Surcharges

MapPut(IEndpointRouteBuilder, String, RequestDelegate)

Ajoute un RouteEndpoint au qui correspond aux IEndpointRouteBuilder requêtes HTTP PUT pour le modèle spécifié.

MapPut(IEndpointRouteBuilder, String, Delegate)

Ajoute un RouteEndpoint au qui correspond aux IEndpointRouteBuilder requêtes HTTP PUT pour le modèle spécifié.

MapPut(IEndpointRouteBuilder, String, RequestDelegate)

Ajoute un RouteEndpoint au qui correspond aux IEndpointRouteBuilder requêtes HTTP PUT pour le modèle spécifié.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IEndpointConventionBuilder ^ MapPut(Microsoft::AspNetCore::Routing::IEndpointRouteBuilder ^ endpoints, System::String ^ pattern, Microsoft::AspNetCore::Http::RequestDelegate ^ requestDelegate);
public static Microsoft.AspNetCore.Builder.IEndpointConventionBuilder MapPut (this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string pattern, Microsoft.AspNetCore.Http.RequestDelegate requestDelegate);
static member MapPut : Microsoft.AspNetCore.Routing.IEndpointRouteBuilder * string * Microsoft.AspNetCore.Http.RequestDelegate -> Microsoft.AspNetCore.Builder.IEndpointConventionBuilder
<Extension()>
Public Function MapPut (endpoints As IEndpointRouteBuilder, pattern As String, requestDelegate As RequestDelegate) As IEndpointConventionBuilder

Paramètres

endpoints
IEndpointRouteBuilder

IEndpointRouteBuilder à laquelle ajouter l’itinéraire.

pattern
String

Modèle d’itinéraire.

requestDelegate
RequestDelegate

Délégué exécuté lorsque le point de terminaison est mis en correspondance.

Retours

IEndpointConventionBuilder qui peut être utilisé pour personnaliser davantage le point de terminaison.

S’applique à

MapPut(IEndpointRouteBuilder, String, Delegate)

Ajoute un RouteEndpoint au qui correspond aux IEndpointRouteBuilder requêtes HTTP PUT pour le modèle spécifié.

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

Paramètres

endpoints
IEndpointRouteBuilder

IEndpointRouteBuilder à laquelle ajouter l’itinéraire.

pattern
String

Modèle d’itinéraire.

handler
Delegate

Délégué exécuté lorsque le point de terminaison est mis en correspondance.

Retours

RouteHandlerBuilder qui peut être utilisé pour personnaliser davantage le point de terminaison.

S’applique à