Ejemplo n.º 1
0
 /// <summary>
 /// Finds the specified pipeline.
 /// </summary>
 /// <param name="key">The pipeline key.</param>
 /// <returns></returns>
 public Func<Tuple<IResolveTypes, object>, object, object, object> Find(PipelineKey key)
 {
     try
     {
         return _aggregatePipelineSets[key];
     }
     catch( KeyNotFoundException exception)
     {
         throw new PipelineNotLocatedException(
             string.Format("unable to find matching pipeline key for {0}, {1}, {2}", key.Input.Name,
                           key.Output.Name, key.Named), exception);
     }
 }
Ejemplo n.º 2
0
 public bool ContainsKey(PipelineKey key)
 {
     return _aggregatePipelineSets.ContainsKey(key);
 }