public static IBusConfiguration UseAspNetCore(this IBusConfiguration bc, IServiceCollection service) { bc.DependencyAdapter = new AspNetCoreDependencyAdapter(service); bc.SetBindings(); return(bc); }