/// <summary> /// Imports the pipelines of the given group to this group. /// </summary> /// <param name="pipelineGroup">Group to import pipelines from</param> public void Import(PipelineGroup pipelineGroup) { foreach (var kvp in pipelineGroup._pipelines) { if (!_pipelines.TryAdd(kvp.Key, kvp.Value)) { throw new IdExistsException(kvp.Key); } } }
// Ctor accepting this pipeline ID and group. internal Pipeline(string id, PipelineGroup group) { Id = id; Group = group; _specifiers = new List <IPipeSpecifier>(); }
// Ctor accepting the ID and the group of the pipeline to be encapsulated. public PipelineReferenceSpecifier(string id, PipelineGroup group) { _id = id; _group = group; }