Sdílet prostřednictvím


RunExtensions.Run(IApplicationBuilder, RequestDelegate) Metoda

Definice

Přidá delegáta middlewaru terminálu do kanálu požadavků aplikace.

public:
[System::Runtime::CompilerServices::Extension]
 static void Run(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app, Microsoft::AspNetCore::Http::RequestDelegate ^ handler);
public static void Run (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Http.RequestDelegate handler);
static member Run : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Http.RequestDelegate -> unit
<Extension()>
Public Sub Run (app As IApplicationBuilder, handler As RequestDelegate)

Parametry

handler
RequestDelegate

Delegát, který zpracovává požadavek.

Platí pro