2 instantiations of DatabaseErrorPageOptions
Diagnostics.EFCore.FunctionalTests (1)
DatabaseErrorPageMiddlewareTest.cs (1)
343
app.UseDatabaseErrorPage(new
DatabaseErrorPageOptions
Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore (1)
DatabaseErrorPageExtensions.cs (1)
29
return app.UseDatabaseErrorPage(new
DatabaseErrorPageOptions
());
8 references to DatabaseErrorPageOptions
Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore (8)
DatabaseDeveloperPageExceptionFilter.cs (2)
28
private readonly
DatabaseErrorPageOptions
_options;
35
public DatabaseDeveloperPageExceptionFilter(ILogger<DatabaseDeveloperPageExceptionFilter> logger, IOptions<
DatabaseErrorPageOptions
> options)
DatabaseErrorPageExtensions.cs (2)
37
/// <param name="options">A <see cref="
DatabaseErrorPageOptions
"/> that specifies options for the middleware.</param>
42
this IApplicationBuilder app,
DatabaseErrorPageOptions
options)
DatabaseErrorPageMiddleware.cs (2)
39
private readonly
DatabaseErrorPageOptions
_options;
55
IOptions<
DatabaseErrorPageOptions
> options)
Views\DatabaseErrorPageModel.cs (2)
14
DatabaseErrorPageOptions
options,
25
public
DatabaseErrorPageOptions
Options { get; }