public Task HandleExceptionAsync(ExceptionContext context, IBar bar) { _foo.Set(); bar.Set(); return(Task.CompletedTask); }