IMiddlewareFactory.Create(Type) Metoda

Definice

Vytvoří instanci middlewaru pro každý požadavek.

public:
 Microsoft::AspNetCore::Http::IMiddleware ^ Create(Type ^ middlewareType);
public Microsoft.AspNetCore.Http.IMiddleware Create (Type middlewareType);
public Microsoft.AspNetCore.Http.IMiddleware? Create (Type middlewareType);
abstract member Create : Type -> Microsoft.AspNetCore.Http.IMiddleware
Public Function Create (middlewareType As Type) As IMiddleware

Parametry

middlewareType
Type

Beton Type z IMiddleware.

Návraty

Instance IMiddleware.

Platí pro