Condividi tramite


MiddlewareFactory.Create(Type) Metodo

Definizione

Crea un'istanza del middleware per ogni richiesta.

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

Parametri

middlewareType
Type

Cemento Type dell'oggetto IMiddleware.

Restituisce

Istanza di IMiddleware.

Implementazioni

Si applica a