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