/// <summary> /// Adds pipelines from the DI container to the pipeline collection. /// </summary> private void AddServicePipelines() { foreach (IPipeline pipeline in Services.GetServices <IPipeline>()) { Pipelines.AddIfNonExisting(pipeline); } }