IMiddlewareFactory.Create(Type) Método

Definição

Cria uma instância de middleware para cada solicitação.

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

O concreto Type do IMiddleware.

Retornos

A instância IMiddleware.

Aplica-se a