MigrationsEndPointMiddleware Constructor

Definition

Initializes a new instance of the MigrationsEndPointMiddleware class

C#
public MigrationsEndPointMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore.MigrationsEndPointMiddleware> logger, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.MigrationsEndPointOptions> options);

Parameters

next
RequestDelegate

Delegate to execute the next piece of middleware in the request pipeline.

logger
ILogger<MigrationsEndPointMiddleware>

The Logger<T> to write messages to.

options
IOptions<MigrationsEndPointOptions>

The options to control the behavior of the middleware.

Applies to

Product Versions
ASP.NET Core 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0