2 instantiations of StatusCodePagesOptions
Microsoft.AspNetCore.Diagnostics (2)
StatusCodePage\StatusCodePagesExtensions.cs (2)
58return app.UseStatusCodePages(new StatusCodePagesOptions 156Options.Create(new StatusCodePagesOptions() { HandleAsync = CreateHandler(pathFormat, queryFormat, newNext) })).Invoke;
8 references to StatusCodePagesOptions
Microsoft.AspNetCore.Diagnostics (8)
StatusCodePage\StatusCodeContext.cs (4)
18/// <param name="options">The configured <see cref="StatusCodePagesOptions"/>.</param> 20public StatusCodeContext(HttpContext context, StatusCodePagesOptions options, RequestDelegate next) 33/// Gets the configured <see cref="StatusCodePagesOptions"/>. 35public StatusCodePagesOptions Options { get; private set; }
StatusCodePage\StatusCodePagesExtensions.cs (1)
25public static IApplicationBuilder UseStatusCodePages(this IApplicationBuilder app, StatusCodePagesOptions options)
StatusCodePage\StatusCodePagesMiddleware.cs (2)
17private readonly StatusCodePagesOptions _options; 24public StatusCodePagesMiddleware(RequestDelegate next, IOptions<StatusCodePagesOptions> options)
StatusCodePage\StatusCodePagesOptions.cs (1)
18/// Creates a default <see cref="StatusCodePagesOptions"/> which produces a plaintext response