Udostępnij za pośrednictwem


EndpointRouteBuilderExtensions.Map Metoda

Definicja

Przeciążenia

Map(IEndpointRouteBuilder, RoutePattern, RequestDelegate)

Dodaje element RouteEndpoint do IEndpointRouteBuilder elementu zgodnego z żądaniami HTTP dla określonego wzorca.

Map(IEndpointRouteBuilder, RoutePattern, Delegate)

Dodaje element RouteEndpoint do IEndpointRouteBuilder elementu zgodnego z żądaniami HTTP dla określonego wzorca.

Map(IEndpointRouteBuilder, String, RequestDelegate)

Dodaje element RouteEndpoint do IEndpointRouteBuilder elementu zgodnego z żądaniami HTTP dla określonego wzorca.

Map(IEndpointRouteBuilder, String, Delegate)

Dodaje element RouteEndpoint do IEndpointRouteBuilder elementu zgodnego z żądaniami HTTP dla określonego wzorca.

Map(IEndpointRouteBuilder, RoutePattern, RequestDelegate)

Źródło:
EndpointRouteBuilderExtensions.cs

Dodaje element RouteEndpoint do IEndpointRouteBuilder elementu zgodnego z żądaniami HTTP dla określonego wzorca.

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

Parametry

endpoints
IEndpointRouteBuilder

Element IEndpointRouteBuilder , do który należy dodać trasę.

pattern
RoutePattern

Wzorzec trasy.

requestDelegate
RequestDelegate

Pełnomocnik wykonywany po dopasowaniu punktu końcowego.

Zwraca

Element IEndpointConventionBuilder , którego można użyć do dalszego dostosowywania punktu końcowego.

Dotyczy

Map(IEndpointRouteBuilder, RoutePattern, Delegate)

Źródło:
EndpointRouteBuilderExtensions.cs

Dodaje element RouteEndpoint do IEndpointRouteBuilder elementu zgodnego z żądaniami HTTP dla określonego wzorca.

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

Parametry

endpoints
IEndpointRouteBuilder

Element IEndpointRouteBuilder , do który należy dodać trasę.

pattern
RoutePattern

Wzorzec trasy.

handler
Delegate

Pełnomocnik wykonywany po dopasowaniu punktu końcowego.

Zwraca

Element RouteHandlerBuilder , którego można użyć do dalszego dostosowywania punktu końcowego.

Dotyczy

Map(IEndpointRouteBuilder, String, RequestDelegate)

Źródło:
EndpointRouteBuilderExtensions.cs

Dodaje element RouteEndpoint do IEndpointRouteBuilder elementu zgodnego z żądaniami HTTP dla określonego wzorca.

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

Parametry

endpoints
IEndpointRouteBuilder

Element IEndpointRouteBuilder , do który należy dodać trasę.

pattern
String

Wzorzec trasy.

requestDelegate
RequestDelegate

Pełnomocnik wykonywany po dopasowaniu punktu końcowego.

Zwraca

Element IEndpointConventionBuilder , którego można użyć do dalszego dostosowywania punktu końcowego.

Dotyczy

Map(IEndpointRouteBuilder, String, Delegate)

Źródło:
EndpointRouteBuilderExtensions.cs

Dodaje element RouteEndpoint do IEndpointRouteBuilder elementu zgodnego z żądaniami HTTP dla określonego wzorca.

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

Parametry

endpoints
IEndpointRouteBuilder

Element IEndpointRouteBuilder , do który należy dodać trasę.

pattern
String

Wzorzec trasy.

handler
Delegate

Pełnomocnik wykonywany po dopasowaniu punktu końcowego.

Zwraca

Element RouteHandlerBuilder , którego można użyć do dalszego dostosowywania punktu końcowego.

Dotyczy