Partager via


MiddlewareFactory.Create(Type) Méthode

Définition

Crée un intergiciel instance pour chaque requête.

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

Paramètres

middlewareType
Type

Le béton Type de .IMiddleware

Retours

Instance IMiddleware.

Implémente

S’applique à