Condividi tramite


EndpointRouteBuilderExtensions.MapPut Metodo

Definizione

Overload

MapPut(IEndpointRouteBuilder, String, RequestDelegate)

Aggiunge un RouteEndpoint oggetto all'oggetto IEndpointRouteBuilder che corrisponde alle richieste HTTP PUT per il modello specificato.

MapPut(IEndpointRouteBuilder, String, Delegate)

Aggiunge un RouteEndpoint oggetto all'oggetto IEndpointRouteBuilder che corrisponde alle richieste HTTP PUT per il modello specificato.

MapPut(IEndpointRouteBuilder, String, RequestDelegate)

Origine:
EndpointRouteBuilderExtensions.cs

Aggiunge un RouteEndpoint oggetto all'oggetto IEndpointRouteBuilder che corrisponde alle richieste HTTP PUT per il modello specificato.

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

Parametri

endpoints
IEndpointRouteBuilder

Oggetto IEndpointRouteBuilder a cui aggiungere la route.

pattern
String

Modello di route.

requestDelegate
RequestDelegate

Delegato eseguito quando l'endpoint corrisponde.

Restituisce

Oggetto IEndpointConventionBuilder che può essere usato per personalizzare ulteriormente l'endpoint.

Si applica a

MapPut(IEndpointRouteBuilder, String, Delegate)

Origine:
EndpointRouteBuilderExtensions.cs

Aggiunge un RouteEndpoint oggetto all'oggetto IEndpointRouteBuilder che corrisponde alle richieste HTTP PUT per il modello specificato.

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

Parametri

endpoints
IEndpointRouteBuilder

Oggetto IEndpointRouteBuilder a cui aggiungere la route.

pattern
String

Modello di route.

handler
Delegate

Delegato eseguito quando l'endpoint corrisponde.

Restituisce

Oggetto RouteHandlerBuilder che può essere usato per personalizzare ulteriormente l'endpoint.

Si applica a