public async Task InvokeAsync(InvocationContext context, IBar bar) { await Foo.DoSomethingAsync(); await bar.DoSomethingAsync(); await context.ProceedAsync(); }