Sdílet prostřednictvím


MiddlewareFactory.Create(Type) Metoda

Definice

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

public:
 virtual 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
override this.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.

Implementuje

Platí pro