Ejemplo n.º 1
0
 // 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)]);
 }
Ejemplo n.º 2
0
 protected bool Equals(DependencyCacheKey other)
 {
     return Dependency.Equals(other.Dependency) && Mode == other.Mode;
 }
Ejemplo n.º 3
0
 protected bool Equals(DependencyCacheKey other)
 {
     return(Dependency.Equals(other.Dependency) && Mode == other.Mode);
 }