Freigeben über


MiddlewareFactory.Create(Type) Methode

Definition

Erstellt eine Middleware instance für jede Anforderung.

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

Parameter

middlewareType
Type

Der Beton Type des IMiddleware.

Gibt zurück

Die IMiddleware-Instanz.

Implementiert

Gilt für: