public async Task PublishAsync(object request) { var pipeline = _pipelines.GetAsyncPipeline(request.GetType()); await pipeline.PublishAsync(GetService, request !); }