Compartir a través de


IMiddlewareFactory.Create(Type) Método

Definición

Crea una instancia de middleware para cada solicitud.

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

Parámetros

middlewareType
Type

El concreto Type de .IMiddleware

Devoluciones

Instancia de IMiddleware.

Se aplica a