Freigeben über


IMiddlewareFactory.Create(Type) Methode

Definition

Erstellt eine Middleware-instance für jede Anforderung.

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

Parameter

middlewareType
Type

Der Beton Type des IMiddleware.

Gibt zurück

Die IMiddleware-Instanz.

Gilt für: