/// <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); } }
public bool ContainsKey(PipelineKey key) { return _aggregatePipelineSets.ContainsKey(key); }