Partager via


IMiddlewareFactory.Create(Type) Méthode

Définition

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

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

Paramètres

middlewareType
Type

Le béton Type du IMiddleware.

Retours

Instance IMiddleware.

S’applique à