// Almost entirely covered by integration tests public IEnumerable <Dependency> DependenciesFor(Dependency dependency, UpdateMode mode, SearchLocation location = SearchLocation.Remote) { return(_dependenciesCache[DependencyCacheKey.For(dependency, mode, location)]); }
protected bool Equals(DependencyCacheKey other) { return Dependency.Equals(other.Dependency) && Mode == other.Mode; }
protected bool Equals(DependencyCacheKey other) { return(Dependency.Equals(other.Dependency) && Mode == other.Mode); }