EndpointRouteBuilderExtensions.MapPut Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Přetížení
| MapPut(IEndpointRouteBuilder, String, RequestDelegate) |
RouteEndpoint Přidá do IEndpointRouteBuilder souboru, který odpovídá požadavkům HTTP PUT pro zadaný vzor. |
| MapPut(IEndpointRouteBuilder, String, Delegate) |
RouteEndpoint Přidá do IEndpointRouteBuilder souboru, který odpovídá požadavkům HTTP PUT pro zadaný vzor. |
MapPut(IEndpointRouteBuilder, String, RequestDelegate)
RouteEndpoint Přidá do IEndpointRouteBuilder souboru, který odpovídá požadavkům HTTP PUT pro zadaný vzor.
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
Parametry
- endpoints
- IEndpointRouteBuilder
Přidání IEndpointRouteBuilder trasy do.
- pattern
- String
Model trasy.
- requestDelegate
- RequestDelegate
Delegát se spustí při porovnávání koncového bodu.
Návraty
Můžete IEndpointConventionBuilder ho použít k dalšímu přizpůsobení koncového bodu.
Platí pro
MapPut(IEndpointRouteBuilder, String, Delegate)
RouteEndpoint Přidá do IEndpointRouteBuilder souboru, který odpovídá požadavkům HTTP PUT pro zadaný vzor.
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
Parametry
- endpoints
- IEndpointRouteBuilder
Přidání IEndpointRouteBuilder trasy do.
- pattern
- String
Model trasy.
- handler
- Delegate
Delegát se spustí při porovnávání koncového bodu.
Návraty
Můžete RouteHandlerBuilder ho použít k dalšímu přizpůsobení koncového bodu.