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