MiddlewareFactory Clase

Definición

Implementación predeterminada para IMiddlewareFactory.

public ref class MiddlewareFactory : Microsoft::AspNetCore::Http::IMiddlewareFactory
public class MiddlewareFactory : Microsoft.AspNetCore.Http.IMiddlewareFactory
type MiddlewareFactory = class
    interface IMiddlewareFactory
Public Class MiddlewareFactory
Implements IMiddlewareFactory
Herencia
MiddlewareFactory
Implementaciones

Constructores

MiddlewareFactory(IServiceProvider)

Inicializa una nueva instancia de la clase MiddlewareFactory.

Métodos

Create(Type)

Crea una instancia de middleware para cada solicitud.

Release(IMiddleware)

Libera una IMiddleware instancia al final de cada solicitud.

Se aplica a