1 implementation of IExceptionHandlerPathFeature
Microsoft.AspNetCore.Diagnostics (1)
ExceptionHandler\ExceptionHandlerFeature.cs (1)
12public class ExceptionHandlerFeature : IExceptionHandlerPathFeature
10 references to IExceptionHandlerPathFeature
Microsoft.AspNetCore.Diagnostics (2)
DeveloperExceptionPage\DeveloperExceptionPageMiddlewareImpl.cs (1)
97httpContext.Features.Set<IExceptionHandlerPathFeature>(exceptionHandlerFeature);
ExceptionHandler\ExceptionHandlerMiddlewareImpl.cs (1)
166context.Features.Set<IExceptionHandlerPathFeature>(exceptionHandlerFeature);
Microsoft.AspNetCore.Diagnostics.Tests (8)
DeveloperExceptionPageMiddlewareTest.cs (2)
145var feature = context.HttpContext.Features.Get<IExceptionHandlerPathFeature>();
ExceptionHandlerMiddlewareTest.cs (6)
164var feature = context.Features.Get<IExceptionHandlerPathFeature>(); 554var tcs = new TaskCompletionSource<IExceptionHandlerPathFeature>(TaskCreationOptions.RunContinuationsAsynchronously); 567var exceptionHandlerFeature = context.Features.GetRequiredFeature<IExceptionHandlerPathFeature>(); 589var feature = await tcs.Task;