예제 #1
0
 /// <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);
         }
     }
 }
예제 #2
0
 // Ctor accepting this pipeline ID and group.
 internal Pipeline(string id, PipelineGroup group)
 {
     Id          = id;
     Group       = group;
     _specifiers = new List <IPipeSpecifier>();
 }
예제 #3
0
 // Ctor accepting the ID and the group of the pipeline to be encapsulated.
 public PipelineReferenceSpecifier(string id, PipelineGroup group)
 {
     _id    = id;
     _group = group;
 }