Compartir a través de


MiddlewareFactory.Create(Type) Método

Definición

Crea una instancia de middleware para cada solicitud.

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

Parámetros

middlewareType
Type

El concreto Type de .IMiddleware

Devoluciones

Instancia de IMiddleware.

Implementaciones

Se aplica a