Condividi tramite


IMiddlewareFactory.Create(Type) Metodo

Definizione

Crea un'istanza del middleware per ogni richiesta.

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

Parametri

middlewareType
Type

Cemento Type dell'oggetto IMiddleware.

Restituisce

Istanza di IMiddleware.

Si applica a